fix: serial power port handling (#5190)

This commit is contained in:
3djc
2024-06-17 09:13:21 +10:00
committed by GitHub
parent 98593ef084
commit 66c0a2769f
2 changed files with 15 additions and 2 deletions
@@ -75,6 +75,14 @@ void pwrInit()
hardwareOptions.pcbrev = PCBREV_VALUE();
#endif
// Aux serial port power
#if defined(AUX_SERIAL_PWR_GPIO)
gpio_init(AUX_SERIAL_PWR_GPIO, GPIO_OUT, GPIO_PIN_SPEED_LOW);
#endif
#if defined(AUX2_SERIAL_PWR_GPIO)
gpio_init(AUX2_SERIAL_PWR_GPIO, GPIO_OUT, GPIO_PIN_SPEED_LOW);
#endif
}
void pwrOn()