diff --git a/tools/remoteFlash.sh b/tools/remoteFlash.sh index 8b93b92..4aaaaeb 100755 --- a/tools/remoteFlash.sh +++ b/tools/remoteFlash.sh @@ -26,6 +26,8 @@ if [ $? -ne 0 ]; then fi echo "Upgrading $IP" +echo "stopWordclock()" | nc $IP 80 + FILES="displayword.lua main.lua timecore.lua webpage.html webserver.lua wordclock.lua init.lua" echo "Start Flasing ..." diff --git a/webserver.lua b/webserver.lua index 6c7b953..e8427ac 100644 --- a/webserver.lua +++ b/webserver.lua @@ -125,6 +125,7 @@ function fillDynamicMap() end function stopWordclock() + print("Stop all Wordclock") -- Stop all for i=0,5 do tmr.stop(i) end -- unload all other functions