Bsongis/sport power line on off (#7435)

SmartPort Power
This commit is contained in:
Bertrand Songis
2020-03-10 17:48:58 +01:00
committed by GitHub
parent cf5e2b3fd5
commit f100e4375a
24 changed files with 126 additions and 3 deletions
+8
View File
@@ -62,6 +62,14 @@ void sportUpdatePowerOff()
{
GPIO_SPORT_UPDATE_PWR_GPIO_OFF(SPORT_UPDATE_PWR_GPIO, SPORT_UPDATE_PWR_GPIO_PIN);
}
void sportUpdatePowerInit()
{
if (g_eeGeneral.sportUpdatePower == 1)
sportUpdatePowerOn();
else
sportUpdatePowerOff();
}
#endif
void boardInit()