diff --git a/src/gui/menu_model.cpp b/src/gui/menu_model.cpp index ee0a3a26e..f79ac182f 100644 --- a/src/gui/menu_model.cpp +++ b/src/gui/menu_model.cpp @@ -2057,7 +2057,11 @@ void menuModelFlightModesAll(uint8_t event) #endif // defined(PCBTARANIS) -#endif // defined(FLIGHT_MODES) +#else // defined(FLIGHT_MODES) + +#define displayFlightModes(...) + +#endif #if defined(HELI)