Merge pull request #1119 from grvvy/ci_device_port_change

ci: update target device's changed port number
This commit is contained in:
Michael Ossmann
2022-07-18 12:57:36 -04:00
committed by GitHub

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