rename definition for special edition boards
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user