mirror of
https://github.com/supleed2/EIE4-FYP.git
synced 2024-11-10 04:15:49 +00:00
Update build.sh dfu-util
to wait for device if not present
This commit is contained in:
parent
d784f6d251
commit
07edec0fb7
2
build.sh
2
build.sh
|
@ -20,7 +20,7 @@ read -p "Flash OrangeCrab? [y/N]" -n 1 -r FLASH_OC
|
||||||
if [[ $FLASH_OC =~ ^[Yy]$ ]]; then
|
if [[ $FLASH_OC =~ ^[Yy]$ ]]; then
|
||||||
echo # Move to next line
|
echo # Move to next line
|
||||||
set +e
|
set +e
|
||||||
dfu-util -D gsd_orangecrab.dfu
|
dfu-util -w -D gsd_orangecrab.dfu
|
||||||
set -e
|
set -e
|
||||||
else echo "Skipping Reflash"
|
else echo "Skipping Reflash"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue