S.PORT flash on all available interfaces (possibly 3)

This commit is contained in:
Bertrand Songis
2018-05-10 08:22:39 +02:00
committed by GitHub
parent 0c7add8f8e
commit db276cecbf
21 changed files with 52 additions and 21 deletions
+2 -2
View File
@@ -541,8 +541,8 @@ void sportUpdatePowerOff(void);
#define SPORT_UPDATE_POWER_ON() sportUpdatePowerOn()
#define SPORT_UPDATE_POWER_OFF() sportUpdatePowerOff()
#else
#define SPORT_UPDATE_POWER_ON() EXTERNAL_MODULE_ON()
#define SPORT_UPDATE_POWER_OFF() EXTERNAL_MODULE_OFF()
#define SPORT_UPDATE_POWER_ON()
#define SPORT_UPDATE_POWER_OFF()
#endif
// Haptic driver
+2
View File
@@ -258,8 +258,10 @@
#define SPORT_UPDATE_RCC_AHB1Periph RCC_AHB1Periph_GPIOH
#define SPORT_UPDATE_PWR_GPIO GPIOH
#define SPORT_UPDATE_PWR_GPIO_PIN GPIO_Pin_13 // PH.13
#define HAS_SPORT_UPDATE_CONNECTOR() true
#else
#define SPORT_UPDATE_RCC_AHB1Periph 0
#define HAS_SPORT_UPDATE_CONNECTOR() false
#endif
// PCBREV