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:
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue