fix: TX12MK2 GPIOS were still wrong
5992a44 fixed these in part, but further testing shows STATUS_LED GPIO mapping is same as TLITE/TPRO
This commit is contained in:
committed by
Peter Feerick
parent
845f9a8fc8
commit
12ecedc377
@@ -1475,12 +1475,12 @@
|
|||||||
#define STATUS_LEDS
|
#define STATUS_LEDS
|
||||||
#define GPIO_LED_GPIO_ON GPIO_SetBits
|
#define GPIO_LED_GPIO_ON GPIO_SetBits
|
||||||
#define GPIO_LED_GPIO_OFF GPIO_ResetBits
|
#define GPIO_LED_GPIO_OFF GPIO_ResetBits
|
||||||
#define LED_GREEN_GPIO GPIOE
|
#define LED_GREEN_GPIO GPIOA
|
||||||
#define LED_GREEN_GPIO_PIN GPIO_Pin_2 // PE.02
|
#define LED_GREEN_GPIO_PIN GPIO_Pin_7 // PA.07
|
||||||
#define LED_RED_GPIO GPIOE
|
#define LED_RED_GPIO GPIOE
|
||||||
#define LED_RED_GPIO_PIN GPIO_Pin_13 // PE.13
|
#define LED_RED_GPIO_PIN GPIO_Pin_13 // PE.13
|
||||||
#define LED_BLUE_GPIO GPIOA
|
#define LED_BLUE_GPIO GPIOE
|
||||||
#define LED_BLUE_GPIO_PIN GPIO_Pin_7 // PA.07
|
#define LED_BLUE_GPIO_PIN GPIO_Pin_2 // PE.02
|
||||||
#elif defined(PCBX7)
|
#elif defined(PCBX7)
|
||||||
#define STATUS_LEDS
|
#define STATUS_LEDS
|
||||||
#define GPIO_LED_GPIO_ON GPIO_SetBits
|
#define GPIO_LED_GPIO_ON GPIO_SetBits
|
||||||
|
|||||||
Reference in New Issue
Block a user