diff --git a/radio/src/gui/128x64/model_setup.cpp b/radio/src/gui/128x64/model_setup.cpp index cdc58ede8..e1d2749b7 100644 --- a/radio/src/gui/128x64/model_setup.cpp +++ b/radio/src/gui/128x64/model_setup.cpp @@ -483,6 +483,11 @@ void menuModelSetup(event_t event) g_model.switchWarningState = switches_states; AUDIO_WARNING1(); storageDirty(EE_MODEL); +#elif defined(PCBX7) + getMovedSwitch(); + g_model.switchWarningState = switches_states; + AUDIO_WARNING1(); + storageDirty(EE_MODEL); #else if (menuHorizontalPosition == NUM_SWITCHES-1) { START_NO_HIGHLIGHT(); @@ -499,7 +504,7 @@ void menuModelSetup(event_t event) } LcdFlags line = attr; - +#if !defined(PCBX7) for (uint8_t i=0; i>= 1; } if (line && (menuHorizontalPosition == i)) { - attr = BLINK | INVERS; + attr = BLINK | INVERS; } #if defined(CPUARM) lcdDrawChar(MODEL_SETUP_2ND_COLUMN+i*FW, y, (swactive) ? c : '-', attr); @@ -526,6 +531,19 @@ void menuModelSetup(event_t event) lcdDrawText(MODEL_SETUP_2ND_COLUMN+(NUM_SWITCHES*FW), y, PSTR("<]"), (menuHorizontalPosition == NUM_SWITCHES-1 && !NO_HIGHLIGHT()) ? line : 0); #endif } +#else // !PCBX7 + int current = 0; + for (int i=0; i>= 2; + } +#endif // !PCBX7 break; }