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

[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
No known key found for this signature in database
GPG key ID: F189F79290FEC50F
4 changed files with 32 additions and 4 deletions

View file

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