update test device path for test server

This commit is contained in:
grvvy
2022-09-22 20:41:21 -06:00
parent 92b15f226e
commit e5c03ba9fe

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
usbhub --disable-i2c --hub D9D1 power state --port 2 --reset usbhub --disable-i2c --hub D9D1 power state --port 2 --reset
sleep 1s sleep 1s
dfu-util --path 1-1.2 --alt 0 --download firmware/hackrf_usb/build/hackrf_usb.dfu dfu-util --path 1-2.2 --alt 0 --download firmware/hackrf_usb/build/hackrf_usb.dfu
EXIT_CODE="$?" EXIT_CODE="$?"
if [ "$EXIT_CODE" == "0" ] if [ "$EXIT_CODE" == "0" ]
then then