From 2965741b6d6c0b4c6a46b1f33155d1e4203eb61b Mon Sep 17 00:00:00 2001 From: Tobias Hopp Date: Mon, 6 Feb 2023 14:11:09 +0100 Subject: [PATCH] Update updater --- update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index d5691ef..e86ec1a 100755 --- a/update.sh +++ b/update.sh @@ -6,6 +6,6 @@ yarn run compile cd ./arduino/itender/ arduino-cli compile --fqbn arduino:avr:mega itender.ino || true sudo systemctl stop itender -arduino-cli upload --port /dev/ACM0 --fqbn arduino:avr:mega itender.ino || true +timeout 30 arduino-cli upload --port /dev/ttyACM0 --fqbn arduino:avr:mega itender.ino || true sudo systemctl start itender -exit 0 \ No newline at end of file +exit 0