From d1a67f1cb4b2e9b721a4f6d05bba8117f60ecabc Mon Sep 17 00:00:00 2001 From: Ollo Date: Thu, 18 Mar 2021 21:38:10 +0100 Subject: [PATCH] Fixed code for simulation --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 3ff2c9e..b5683df 100644 --- a/main.lua +++ b/main.lua @@ -155,7 +155,7 @@ function normalOperation() end ws2812.write(rgbBuffer) else - timer:unregister() + wifitimer:unregister() wifitimer=nil connect_counter=nil print('IP: ',wifi.sta.getip(), " heap: ", node.heap())