[ACCESS] Automatic detection of the module for accessPushTelemetry if module < 0

This commit is contained in:
Bertrand Songis
2019-06-11 17:06:09 +02:00
parent 02302bdc14
commit 3aab7b8a37
4 changed files with 32 additions and 4 deletions
@@ -32,6 +32,7 @@ bool addRadioTool(uint8_t index, const char * label)
lcdDrawText(3*FW, y, label, (sub == index ? INVERS : 0));
if (attr && s_editMode > 0) {
s_editMode = 0;
killAllEvents();
return true;
}
return false;
@@ -101,6 +102,7 @@ void addRadioScriptTool(uint8_t index, const char * filename)
}
if (addRadioTool(index, label)) {
f_chdir("/SCRIPTS/TOOLS/");
luaExec(path);
}
}