Skip to content

Commit 08c90dc

Browse files
authored
chore: remove PCB specific defines in preference to COLORLCD (#5253)
1 parent 9789a9d commit 08c90dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

radio/src/dataconstants.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#define LABELS_LENGTH 100 // Maximum length of the label string
3939
#define LABEL_LENGTH 16
4040

41-
#if defined(PCBHORUS) || defined(PCBNV14) || defined(PCBPL18) || defined(STM32H747xx)
41+
#if defined(COLORLCD) || defined(STM32H747xx)
4242
#define MAX_MODELS 60
4343
#define MAX_OUTPUT_CHANNELS 32 // number of real output channels CH1-CH32
4444
#define MAX_FLIGHT_MODES 9

radio/src/datastructs.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static inline void check_struct()
6868
CHKSIZE(FrSkyLineData, 6);
6969
CHKTYPE(TelemetryScreenData, 24);
7070
CHKSIZE(ModelHeader, 24);
71-
#elif defined(PCBHORUS) || defined(PCBNV14) || defined(PCBPL18)
71+
#elif defined(COLORLCD)
7272
CHKSIZE(LimitData, 13);
7373
CHKSIZE(TimerData, 17);
7474
CHKSIZE(ModelHeader, 131);

0 commit comments

Comments
 (0)