diff --git a/radio/src/switches.cpp b/radio/src/switches.cpp index 61d975256..7d5213457 100644 --- a/radio/src/switches.cpp +++ b/radio/src/switches.cpp @@ -739,7 +739,7 @@ void checkSwitches() #if defined(TELEMETRY_MOD_14051) || defined(TELEMETRY_MOD_14051_SWAPPED) // FIXME: One getADC() call only reads one 14051 MUX input. To have all switch states updated, we need to call it MUX_MAX+1 times. #define GETADC_COUNT (MUX_MAX+1) -#elif defined(PCBTARANIS) || defined(PCBFLAMENCO) +#elif defined(PCBTARANIS) || defined(PCBFLAMENCO) || defined(PCBHORUS) #define GETADC_COUNT 1 #endif #ifdef GETADC_COUNT @@ -762,6 +762,19 @@ void checkSwitches() } } } + if (g_model.potsWarnMode) { + evalFlightModeMixes(e_perout_mode_normal, 0); + bad_pots = 0; + for (int i=0; i 1)) { + warn = true; + bad_pots |= (1<