diff options
author | Aki <please@ignore.pl> | 2024-01-22 23:15:41 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-01-22 23:18:08 +0100 |
commit | 9fde8f71deb29d3c7bcefd08f678365f5eaf9eee (patch) | |
tree | f5269841fd294265d786a650f16f1eaa21edad2d /run.lua | |
parent | 0ff40d99e0d9db70311a78011ad52e603beec0ab (diff) | |
download | nodemcu-wakeup-master.zip nodemcu-wakeup-master.tar.gz nodemcu-wakeup-master.tar.bz2 |
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.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ local wakeup = require("wakeup") return function () tmr.create():alarm( - 500, + 1000, tmr.ALARM_AUTO, function (timer) wakeup:step(timer) |