From 9fde8f71deb29d3c7bcefd08f678365f5eaf9eee Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 22 Jan 2024 23:15:41 +0100 Subject: Tweaked wake-up logic itself, repeatitions and sleep 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. --- run.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run.lua') 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) -- cgit v1.1