ci: update target device's changed port number

This commit is contained in:
grvvy
2022-07-13 14:42:21 -06:00
parent 34cbbe7330
commit 53e076e997

View File

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