mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-06 07:25:37 +01:00
Update rad1o firmware and libhackrf to use rad1o PID
This commit is contained in:
committed by
Stefan `Sec` Zehl
parent
6fb5885b70
commit
510dde7485
@@ -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