mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-03 05:55:18 +01:00
Use rad1o's PID
This commit is contained in:
@@ -32,6 +32,10 @@ else:
|
||||
if device:
|
||||
print 'Find: HackRF One'
|
||||
else:
|
||||
device = usb.core.find(idVendor=0x1d50, idProduct=0xCC15)
|
||||
if device:
|
||||
print 'Find: Rad1o'
|
||||
else:
|
||||
print 'Not find any HackRF device.'
|
||||
sys.exit()
|
||||
device.set_configuration()
|
||||
|
||||
@@ -31,8 +31,12 @@ else:
|
||||
if device:
|
||||
print 'Find: HackRF One'
|
||||
else:
|
||||
print 'Not find any HackRF device.'
|
||||
sys.exit()
|
||||
device = usb.core.find(idVendor=0x1d50, idProduct=0xCC15)
|
||||
if device:
|
||||
print 'Find: Rad1o'
|
||||
else:
|
||||
print 'Not find any HackRF device.'
|
||||
sys.exit()
|
||||
device.set_configuration()
|
||||
|
||||
def set_rx():
|
||||
|
||||
Reference in New Issue
Block a user