rename definition for special edition boards

This commit is contained in:
joeycastillo 2023-01-25 10:32:35 -06:00
parent e512b731bb
commit e32f1d1926
6 changed files with 6 additions and 6 deletions

View file

@ -23,7 +23,7 @@
#define WATCH_RED_TCC_CHANNEL 0
#define WATCH_RED_TCC_PINMUX PINMUX_PA04E_TCC0_WO0
#ifdef WATCH_SWAP_LED_PINS
#ifdef WATCH_IS_BLUE_BOARD
#define GREEN GPIO(GPIO_PORTB, 22)
#define WATCH_GREEN_TCC_CHANNEL 2
#define WATCH_GREEN_TCC_PINMUX PINMUX_PB22F_TCC0_WO2

View file

@ -18,7 +18,7 @@
#define WATCH_BUZZER_TCC_CHANNEL 1
// LEDs
#ifdef WATCH_SWAP_LED_PINS
#ifdef WATCH_IS_BLUE_BOARD
#define RED GPIO(GPIO_PORTA, 21)
#define WATCH_RED_TCC_PINMUX PINMUX_PA21F_TCC0_WO7
#define WATCH_RED_TCC_CHANNEL 3

View file

@ -18,7 +18,7 @@
#define WATCH_BUZZER_TCC_CHANNEL 1
// LEDs
#ifdef WATCH_SWAP_LED_PINS
#ifdef WATCH_IS_BLUE_BOARD
#define RED GPIO(GPIO_PORTA, 21)
#define WATCH_RED_TCC_PINMUX PINMUX_PA21F_TCC0_WO7
#define WATCH_RED_TCC_CHANNEL 3

View file

@ -18,7 +18,7 @@
#define WATCH_BUZZER_TCC_CHANNEL 1
// LEDs
#ifdef WATCH_SWAP_LED_PINS
#ifdef WATCH_IS_BLUE_BOARD
#define RED GPIO(GPIO_PORTA, 21)
#define WATCH_RED_TCC_PINMUX PINMUX_PA21F_TCC0_WO7
#define WATCH_RED_TCC_CHANNEL 3

View file

@ -202,7 +202,7 @@ SRCS += \
endif
ifeq ($(LED), BLUE)
CFLAGS += -DWATCH_SWAP_LED_PINS
CFLAGS += -DWATCH_IS_BLUE_BOARD
endif
ifdef FIRMWARE

View file

@ -33,7 +33,7 @@ const char preferences_face_titles[PREFERENCES_FACE_NUM_PREFEFENCES][11] = {
"TO ", // Timeout: how long before we snap back to the clock face?
"LE ", // Low Energy mode: how long before it engages?
"LT ", // Light: duration
#ifdef WATCH_SWAP_LED_PINS
#ifdef WATCH_IS_BLUE_BOARD
"LT blu ", // Light: blue component (for watches with blue LED)
#else
"LT grn ", // Light: green component