[X9D] REV3 switches assignation (regression)
This commit is contained in:
+4
-4
@@ -76,8 +76,8 @@
|
||||
#endif
|
||||
|
||||
#if defined(REV3)
|
||||
#define GPIO_PIN_SW_G_H GPIOA->IDR
|
||||
#define GPIO_PIN_SW_G_L GPIOB->IDR
|
||||
#define GPIO_PIN_SW_G_H (~GPIOA->IDR)
|
||||
#define GPIO_PIN_SW_G_L (~GPIOB->IDR)
|
||||
#define PIN_SW_G_H GPIO_Pin_5 //PA.05
|
||||
#define PIN_SW_G_L GPIO_Pin_0 //PB.00
|
||||
#else
|
||||
@@ -88,8 +88,8 @@
|
||||
#endif
|
||||
|
||||
#if defined(REV3)
|
||||
#define GPIO_PIN_SW_C_H GPIOB->IDR
|
||||
#define GPIO_PIN_SW_C_L GPIOE->IDR
|
||||
#define GPIO_PIN_SW_C_H (~GPIOB->IDR)
|
||||
#define GPIO_PIN_SW_C_L (~GPIOE->IDR)
|
||||
#define PIN_SW_C_H GPIO_Pin_1 //PB.01
|
||||
#define PIN_SW_C_L GPIO_Pin_7 //PE.07
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user