From 9cd39cd3e37121502a5d58f8a58bd37331be378e Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Wed, 13 Sep 2023 11:39:58 -0400 Subject: add new COLOR flag --- make.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'make.mk') diff --git a/make.mk b/make.mk index bf61708c..a83108bd 100644 --- a/make.mk +++ b/make.mk @@ -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 -- cgit v1.2.3