diff options
author | Bernhard Tittelbach <bernhard@tittelbach.org> | 2016-06-12 14:12:35 +0200 |
---|---|---|
committer | Bernhard Tittelbach <bernhard@tittelbach.org> | 2016-06-12 14:12:35 +0200 |
commit | 4b58e20cbe87ff5c12dd3e04c589941725a1ee1a (patch) | |
tree | 4caceaf1ae82e94e6172aaf05e8df9c3e65efef8 /tools/reset_sparkfun | |
parent | basic bmp280 lib (mostly adafruit reimplementation) and example (diff) |
bootloader is pretty fast so we need to be too
Diffstat (limited to 'tools/reset_sparkfun')
-rwxr-xr-x | tools/reset_sparkfun | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/reset_sparkfun b/tools/reset_sparkfun index fd3cd05..62884b0 100755 --- a/tools/reset_sparkfun +++ b/tools/reset_sparkfun @@ -27,12 +27,13 @@ while (test $i -gt 0); do if [ $FOUND -eq 1 -a $DISAPPEARED -eq 1 ]; then break; fi - sleep 1 + sleep 0.1 i=$(($i-1)) done if [ $FOUND -eq 1 ]; then echo " device found!" + sleep 1 else echo " timout - trying anyway" fi |