From 77409ec7d8004870e65b5f4211fa087d5b7c7696 Mon Sep 17 00:00:00 2001 From: "bsongis@gmail.com" Date: Tue, 18 Jun 2013 06:52:41 +0000 Subject: [PATCH] Compilation error when FLIGHT_MODES=NO --- src/gui/menu_model.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)