From: Nathaniel Wesley Filardo Date: Thu, 26 Dec 2019 00:44:13 +0000 (+0000) Subject: init2: fix remotemsg X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=67044a72f8c8532244ff641beb487a740e3a35c1;p=acmetensortoys-esp-lua_lamp init2: fix remotemsg Omitting the ()s means that the actual function doesn't get called, just loaded. --- diff --git a/init2.lua b/init2.lua index dcdda14..7cf3a4e 100644 --- a/init2.lua +++ b/init2.lua @@ -77,7 +77,7 @@ local function remotemsg(m) touchtmr:unregister() ledfb = remotefb removeremote() - OVL["lamp-remote"](m) + OVL["lamp-remote"]()(m) end end