diff options
author | joeycastillo <joeycastillo@utexas.edu> | 2023-09-13 11:39:58 -0400 |
---|---|---|
committer | joeycastillo <joeycastillo@utexas.edu> | 2023-09-13 11:40:40 -0400 |
commit | 9cd39cd3e37121502a5d58f8a58bd37331be378e (patch) | |
tree | 1cc5c5b66421e338646df832ccc96d2e141cf552 /make.mk | |
parent | 7fd51caa25681c43173be77075c268cede87efb6 (diff) | |
download | Sensor-Watch-9cd39cd3e37121502a5d58f8a58bd37331be378e.tar.gz Sensor-Watch-9cd39cd3e37121502a5d58f8a58bd37331be378e.tar.bz2 Sensor-Watch-9cd39cd3e37121502a5d58f8a58bd37331be378e.zip |
add new COLOR flag
Diffstat (limited to 'make.mk')
-rw-r--r-- | make.mk | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |