1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-16 12:55:12 +03:00

Fix some events not sent to LUA telemetry scripts scripts.

Thix fixes #4366
This commit is contained in:
3djc 2017-02-02 08:02:18 +01:00
parent d2415b35db
commit e7d7f9df95

View file

@ -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;