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:
Patrick C. F. Ernzer
2015-08-25 12:13:47 +02:00
parent 90e1653613
commit f5a3692a66
3 changed files with 12 additions and 7 deletions

View File

@@ -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()

View File

@@ -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()