Save 8 bytes

This commit is contained in:
Armel FAUVEAU
2024-12-23 04:30:37 +01:00
parent 9b72c90040
commit a9dc598107

View File

@@ -59,10 +59,7 @@ center_line_t center_line = CENTER_LINE_NONE;
static bool isMainOnly() static bool isMainOnly()
{ {
if((gEeprom.DUAL_WATCH != DUAL_WATCH_OFF) + (gEeprom.CROSS_BAND_RX_TX != CROSS_BAND_OFF) * 2 == 0) return (gEeprom.DUAL_WATCH == DUAL_WATCH_OFF) && (gEeprom.CROSS_BAND_RX_TX == CROSS_BAND_OFF);
return true;
else
return false;
} }
#endif #endif