mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Prevent Lua from allocating all heap memory (Horus) (#4440)
* Fixes #4284: Prevent Lua from allocating all heap memory (Horus) Lua bitmap functions cleanup and docs update Added x or y < 0 check to drawBitmap() * Proper float constant
This commit is contained in:
parent
be61e07939
commit
e80c4c858e
8 changed files with 94 additions and 31 deletions
|
@ -138,6 +138,9 @@ void periodicTick_1s()
|
|||
void periodicTick_10s()
|
||||
{
|
||||
checkBatteryAlarms();
|
||||
#if defined(LUA)
|
||||
checkLuaMemoryUsage();
|
||||
#endif
|
||||
}
|
||||
|
||||
void periodicTick()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue