add new COLOR flag

This commit is contained in:
joeycastillo
2023-09-13 11:39:58 -04:00
parent 7fd51caa25
commit 9cd39cd3e3
2 changed files with 6 additions and 2 deletions

View File

@@ -207,7 +207,11 @@ ifeq ($(LED), BLUE)
CFLAGS += -DWATCH_IS_BLUE_BOARD
endif
ifeq ($(LED), RED)
ifeq ($(COLOR), BLUE)
CFLAGS += -DWATCH_IS_BLUE_BOARD
endif
ifeq ($(COLOR), RED)
CFLAGS += -DWATCH_INVERT_LED_POLARITY
CFLAGS += -DNO_FREQCORR
endif