mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 11:10:29 +08:00
prep for red boards
This commit is contained in:
parent
b49259e4e0
commit
6a69e0a691
4
make.mk
4
make.mk
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue