summaryrefslogtreecommitdiff
path: root/run.lua
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-01-22 23:15:41 +0100
committerAki <please@ignore.pl>2024-01-22 23:18:08 +0100
commit9fde8f71deb29d3c7bcefd08f678365f5eaf9eee (patch)
treef5269841fd294265d786a650f16f1eaa21edad2d /run.lua
parent0ff40d99e0d9db70311a78011ad52e603beec0ab (diff)
downloadnodemcu-wakeup-master.zip
nodemcu-wakeup-master.tar.gz
nodemcu-wakeup-master.tar.bz2
Tweaked wake-up logic itself, repeatitions and sleepHEADmaster
Timeout vs counter still hate themselves. When assigned five packets, it sends four, when assigned five ticks it waits five (for now). Or the other way around... I can't count today anymore.
Diffstat (limited to 'run.lua')
-rw-r--r--run.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.lua b/run.lua
index e5a7627..60d1e07 100644
--- a/run.lua
+++ b/run.lua
@@ -2,7 +2,7 @@ local wakeup = require("wakeup")
return function ()
tmr.create():alarm(
- 500,
+ 1000,
tmr.ALARM_AUTO,
function (timer)
wakeup:step(timer)