prep for red boards

This commit is contained in:
joeycastillo 2023-07-29 07:01:19 -04:00
parent b49259e4e0
commit 6a69e0a691

View file

@ -207,6 +207,10 @@ ifeq ($(LED), BLUE)
CFLAGS += -DWATCH_IS_BLUE_BOARD CFLAGS += -DWATCH_IS_BLUE_BOARD
endif endif
ifeq ($(LED), RED)
CFLAGS += -DWATCH_INVERT_LED_POLARITY
endif
ifdef FIRMWARE ifdef FIRMWARE
CFLAGS += -DMOVEMENT_FIRMWARE_$(FIRMWARE)=1 CFLAGS += -DMOVEMENT_FIRMWARE_$(FIRMWARE)=1
CFLAGS += -DMOVEMENT_FIRMWARE=MOVEMENT_FIRMWARE_$(FIRMWARE) CFLAGS += -DMOVEMENT_FIRMWARE=MOVEMENT_FIRMWARE_$(FIRMWARE)