projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/lisp: Add apply
[fw/altos]
/
ao-bringup
/
turnon_telebt
diff --git
a/ao-bringup/turnon_telebt
b/ao-bringup/turnon_telebt
index 912ba459657d01bdb5a889d00d4eba2f4613d7f2..8bf9bcb56bb5429aa13e1849d258f2b1347bbe7e 100755
(executable)
--- a/
ao-bringup/turnon_telebt
+++ b/
ao-bringup/turnon_telebt
@@
-44,7
+44,7
@@
esac
FLASH_FILE=$REPO/loaders/telebt-v$VERSION-altos-flash-*.bin
ALTOS_FILE=$REPO/telebt-v$VERSION-*.elf
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
sleep 2
@@
-80,7
+80,7
@@
else
fi
echo -n "checking BTLE functionality... "
fi
echo -n "checking BTLE functionality... "
-btdev=`sudo timeout -s SIGINT 5s hcitool lescan | awk -F \- '/TeleBT/ { print $2 }'`
+btdev=`sudo timeout -s SIGINT 5s hcitool lescan | awk -F \- '/TeleBT/ { print $2 }'
| head -n 1
`
if [ "$btdev" = "$SERIAL" ]; then
echo "working!"
else
if [ "$btdev" = "$SERIAL" ]; then
echo "working!"
else