summaryrefslogtreecommitdiff
path: root/tools/reset_sparkfun
diff options
context:
space:
mode:
Diffstat (limited to 'tools/reset_sparkfun')
-rwxr-xr-xtools/reset_sparkfun3
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