diff --git a/radio/src/gui/gui_common.cpp b/radio/src/gui/gui_common.cpp index df1e74412d0..33dfd8ca283 100644 --- a/radio/src/gui/gui_common.cpp +++ b/radio/src/gui/gui_common.cpp @@ -1008,11 +1008,7 @@ bool isTrainerModeAvailable(int mode) #endif if (mode == TRAINER_MODE_MASTER_SERIAL) { -#if defined(SBUS_TRAINER) return serialGetModePort(UART_MODE_SBUS_TRAINER) >= 0; -#else - return false; -#endif } if ((mode == TRAINER_MODE_MASTER_BLUETOOTH ||