Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 81b63ce

Browse files
author
Brian Baltz
committed
Fix timeout message for IDE
Signed-off-by: Brian Baltz <[email protected]>
1 parent 7db308d commit 81b63ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clupload/cluploadArduino101_osx.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dbg_print() {
88

99
error_out() {
1010
echo "$@"
11-
exit 1
11+
exit -1
1212
}
1313

1414
setup() {
@@ -50,8 +50,8 @@ trap_to_dfu() {
5050
# Wait in loop only up to 50 times
5151
let counter=counter+1
5252
if [ "$counter" -gt "50" ]; then
53-
echo "ERROR: Timed out waiting for Arduino 101."
54-
exit 1
53+
echo "ERROR: Device is not responding."
54+
exit -1
5555
fi
5656
done
5757

0 commit comments

Comments
 (0)