mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-06 23:39:56 +01:00
rad1o USB idProduct cleanups
- udev rule should be lowercase (https://github.com/rad1o/f1rmware/pull/29) - add entries for rad1o storage from https://github.com/rad1o/f1rmware/blob/master/smartflash/90-rad1o-flash.rules - Rad1o -> rad1o - hackrf.h was NOT adjusted to lowercase cc15
This commit is contained in:
@@ -32,9 +32,9 @@ else:
|
||||
if device:
|
||||
print 'Find: HackRF One'
|
||||
else:
|
||||
device = usb.core.find(idVendor=0x1d50, idProduct=0xCC15)
|
||||
device = usb.core.find(idVendor=0x1d50, idProduct=0xcc15)
|
||||
if device:
|
||||
print 'Find: Rad1o'
|
||||
print 'Find: rad1o'
|
||||
else:
|
||||
print 'Not find any HackRF device.'
|
||||
sys.exit()
|
||||
|
||||
@@ -31,9 +31,9 @@ else:
|
||||
if device:
|
||||
print 'Find: HackRF One'
|
||||
else:
|
||||
device = usb.core.find(idVendor=0x1d50, idProduct=0xCC15)
|
||||
device = usb.core.find(idVendor=0x1d50, idProduct=0xcc15)
|
||||
if device:
|
||||
print 'Find: Rad1o'
|
||||
print 'Find: rad1o'
|
||||
else:
|
||||
print 'Not find any HackRF device.'
|
||||
sys.exit()
|
||||
|
||||
Reference in New Issue
Block a user