1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 01:35:21 +03:00

Now telem0.lua replaces the voltages screen and telem1.lua .. telem7.lua

are allowed. The user could now have 1+7+3+1=12 telemetry screens!
This commit is contained in:
bsongis 2014-06-18 21:52:19 +02:00
parent 2416dde7bb
commit ec81b078fe
3 changed files with 119 additions and 106 deletions

View file

@ -1302,7 +1302,7 @@ void luaLoadMixScripts()
}
// Load telemetry scripts
for (int i=0; i<MAX_SCRIPTS; i++) {
for (int i=0; i<MAX_SCRIPTS+1; i++) {
if (!luaLoadTelemetryScript(i)) {
POPUP_WARNING("Too many Lua scripts!"); // TODO translation
break;