Skip to content

Commit

Permalink
chore: remove PCB specific defines in preference to COLORLCD (#5253)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeerick authored Jul 6, 2024
1 parent 9789a9d commit 08c90dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion radio/src/dataconstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion radio/src/datastructs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 08c90dc

Please sign in to comment.