mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
Allow setup of new switches on X7
This commit is contained in:
parent
8ef57e2267
commit
eca62ed13e
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ void menuModelSetup(event_t event)
|
|||
}
|
||||
|
||||
int current = 0;
|
||||
for (int i = 0; i < switchWarningsCount; i++) {
|
||||
for (int i = 0; i < NUM_SWITCHES; i++) {
|
||||
if (SWITCH_WARNING_ALLOWED(i)) {
|
||||
div_t qr = div(current, MAX_SWITCH_PER_LINE);
|
||||
if (!READ_ONLY() && event==EVT_KEY_BREAK(KEY_ENTER) && attr && l_posHorz == current && old_posHorz >= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue