diff --git a/radio/src/dataconstants.h b/radio/src/dataconstants.h index f1834f5781a..147c4dc127d 100644 --- a/radio/src/dataconstants.h +++ b/radio/src/dataconstants.h @@ -38,7 +38,7 @@ #define LABELS_LENGTH 100 // Maximum length of the label string #define LABEL_LENGTH 16 -#if defined(PCBHORUS) || defined(PCBNV14) || defined(PCBPL18) || defined(STM32H747xx) +#if defined(COLORLCD) || defined(STM32H747xx) #define MAX_MODELS 60 #define MAX_OUTPUT_CHANNELS 32 // number of real output channels CH1-CH32 #define MAX_FLIGHT_MODES 9 diff --git a/radio/src/datastructs.h b/radio/src/datastructs.h index 97d9fe3f3b2..f0e9c333914 100644 --- a/radio/src/datastructs.h +++ b/radio/src/datastructs.h @@ -68,7 +68,7 @@ static inline void check_struct() CHKSIZE(FrSkyLineData, 6); CHKTYPE(TelemetryScreenData, 24); CHKSIZE(ModelHeader, 24); -#elif defined(PCBHORUS) || defined(PCBNV14) || defined(PCBPL18) +#elif defined(COLORLCD) CHKSIZE(LimitData, 13); CHKSIZE(TimerData, 17); CHKSIZE(ModelHeader, 131);