[Taranis X9E] SWF reversed. SWR not answering

This commit is contained in:
bsongis
2015-06-12 11:05:28 +02:00
parent b0a4de5a14
commit 103bfe4b79
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -125,9 +125,9 @@
#if defined(REV9E)
#define SWITCHES_GPIO_REG_F_L GPIOE->IDR
#define SWITCHES_GPIO_PIN_F_L GPIO_Pin_1 // PE.01
#define SWITCHES_GPIO_PIN_F_L GPIO_Pin_2 // PE.02
#define SWITCHES_GPIO_REG_F_H GPIOE->IDR
#define SWITCHES_GPIO_PIN_F_H GPIO_Pin_2 // PE.02
#define SWITCHES_GPIO_PIN_F_H GPIO_Pin_1 // PE.01
#else
#define SWITCHES_GPIO_REG_F GPIOE->IDR
#define SWITCHES_GPIO_PIN_F GPIO_Pin_14 // PE.14
+1 -1
View File
@@ -247,7 +247,7 @@ void keysInit()
GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP ;
GPIO_Init(GPIOA, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = KEYS_GPIOD_PINS;
GPIO_InitStructure.GPIO_Pin = KEYS_GPIOB_PINS;
GPIO_Init(GPIOB, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = KEYS_GPIOC_PINS;