From 12ecedc377ea141b52bc8bdb6ceadbff8a426a31 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Mon, 5 Sep 2022 21:06:32 +1000 Subject: [PATCH] fix: TX12MK2 GPIOS were still wrong 5992a44 fixed these in part, but further testing shows STATUS_LED GPIO mapping is same as TLITE/TPRO --- radio/src/targets/taranis/hal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/radio/src/targets/taranis/hal.h b/radio/src/targets/taranis/hal.h index 0e789c30f..0d7f08737 100644 --- a/radio/src/targets/taranis/hal.h +++ b/radio/src/targets/taranis/hal.h @@ -1475,12 +1475,12 @@ #define STATUS_LEDS #define GPIO_LED_GPIO_ON GPIO_SetBits #define GPIO_LED_GPIO_OFF GPIO_ResetBits - #define LED_GREEN_GPIO GPIOE - #define LED_GREEN_GPIO_PIN GPIO_Pin_2 // PE.02 + #define LED_GREEN_GPIO GPIOA + #define LED_GREEN_GPIO_PIN GPIO_Pin_7 // PA.07 #define LED_RED_GPIO GPIOE #define LED_RED_GPIO_PIN GPIO_Pin_13 // PE.13 - #define LED_BLUE_GPIO GPIOA - #define LED_BLUE_GPIO_PIN GPIO_Pin_7 // PA.07 + #define LED_BLUE_GPIO GPIOE + #define LED_BLUE_GPIO_PIN GPIO_Pin_2 // PE.02 #elif defined(PCBX7) #define STATUS_LEDS #define GPIO_LED_GPIO_ON GPIO_SetBits