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