Merge pull request #1198 from grvvy/test_device_path_fix

CI: remove the no longer needed device path from dfu-util
This commit is contained in:
Jacob Graves 2022-10-17 12:29:00 -06:00 committed by GitHub
commit 2b3e2e52cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 --device 1fc9:000c --alt 0 --download firmware/hackrf_usb/build/hackrf_usb.dfu
EXIT_CODE="$?"
if [ "$EXIT_CODE" == "0" ]
then