From e7d7f9df95c74f3aa40898e03356aa27a2b20cc5 Mon Sep 17 00:00:00 2001 From: 3djc Date: Thu, 2 Feb 2017 08:02:18 +0100 Subject: [PATCH] Fix some events not sent to LUA telemetry scripts scripts. Thix fixes #4366 --- radio/src/lua/interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/lua/interface.cpp b/radio/src/lua/interface.cpp index 59f52cbd8..15af7c193 100644 --- a/radio/src/lua/interface.cpp +++ b/radio/src/lua/interface.cpp @@ -781,7 +781,7 @@ void luaDoOneRunStandalone(event_t evt) } } -bool luaDoOneRunPermanentScript(uint8_t evt, int i, uint32_t scriptType) +bool luaDoOneRunPermanentScript(event_t evt, int i, uint32_t scriptType) { ScriptInternalData & sid = scriptInternalData[i]; if (sid.state != SCRIPT_OK) return false;