don't exit on dfu-util errors, it's not reliable about reporting success
authorBdale Garbee <bdale@gag.com>
Tue, 19 Sep 2017 17:56:52 +0000 (11:56 -0600)
committerBdale Garbee <bdale@gag.com>
Tue, 19 Sep 2017 17:56:52 +0000 (11:56 -0600)
ao-bringup/turnon_telebt
ao-bringup/turnon_telegps

index fb8318b..8bf9bcb 100755 (executable)
@@ -44,7 +44,7 @@ esac
 FLASH_FILE=$REPO/loaders/telebt-v$VERSION-altos-flash-*.bin
 ALTOS_FILE=$REPO/telebt-v$VERSION-*.elf
 
-$DFU_UTIL -a 0 -s 0x08000000:leave -D $FLASH_FILE || exit 1
+$DFU_UTIL -a 0 -s 0x08000000:leave -D $FLASH_FILE
 
 sleep 2
 
index fd879ab..48af692 100755 (executable)
@@ -49,7 +49,7 @@ esac
 FLASH_FILE=$REPO/loaders/telegps-v2.0-altos-flash-*.bin
 ALTOS_FILE=$REPO/telegps-v2.0-*.elf
 
-$DFU_UTIL -a 0 -s 0x08000000:leave -D $FLASH_FILE || exit 1
+$DFU_UTIL -a 0 -s 0x08000000:leave -D $FLASH_FILE 
 
 sleep 2