fix: TX-12MK2 status led sequence, Zorro BLUE/GREEN swap (#2346)

* fix: Zorro LED_GREEN and LED_BLUE GPIO swapped

* fix: TX12-MK2 Blue=>Green led sequence also
Also add Zorro since it's GPIO has been changed.
This commit is contained in:
Peter Feerick
2022-09-23 13:00:01 +10:00
committed by GitHub
parent 40149c487c
commit 2d608bac32
3 changed files with 11 additions and 8 deletions
+4 -4
View File
@@ -1455,12 +1455,12 @@
#define STATUS_LEDS
#define GPIO_LED_GPIO_ON GPIO_SetBits
#define GPIO_LED_GPIO_OFF GPIO_ResetBits
#define LED_GREEN_GPIO GPIOA
#define LED_GREEN_GPIO_PIN GPIO_Pin_7 // PA.07
#define LED_GREEN_GPIO GPIOE
#define LED_GREEN_GPIO_PIN GPIO_Pin_2 // PE.02
#define LED_RED_GPIO GPIOE
#define LED_RED_GPIO_PIN GPIO_Pin_13 // PE.13
#define LED_BLUE_GPIO GPIOE
#define LED_BLUE_GPIO_PIN GPIO_Pin_2 // PE.02
#define LED_BLUE_GPIO GPIOA
#define LED_BLUE_GPIO_PIN GPIO_Pin_7 // PA.07
#elif defined(RADIO_TLITE) || defined(RADIO_TPRO) || defined(RADIO_TX12)
#define STATUS_LEDS
#define GPIO_LED_GPIO_ON GPIO_SetBits