[X3] S.PORT power ON / OFF state changed
This commit is contained in:
@@ -963,8 +963,8 @@
|
||||
#define SPORT_UPDATE_RCC_AHB1Periph RCC_AHB1Periph_GPIOE
|
||||
#define SPORT_UPDATE_PWR_GPIO GPIOE
|
||||
#define SPORT_UPDATE_PWR_GPIO_PIN GPIO_Pin_15 // PE.15
|
||||
#define GPIO_SPORT_UPDATE_PWR_GPIO_ON GPIO_SetBits
|
||||
#define GPIO_SPORT_UPDATE_PWR_GPIO_OFF GPIO_ResetBits
|
||||
#define GPIO_SPORT_UPDATE_PWR_GPIO_ON GPIO_ResetBits
|
||||
#define GPIO_SPORT_UPDATE_PWR_GPIO_OFF GPIO_SetBits
|
||||
#else
|
||||
#define SPORT_MAX_BAUDRATE 400000
|
||||
#define SPORT_UPDATE_RCC_AHB1Periph 0
|
||||
|
||||
Reference in New Issue
Block a user