AP_HAL_ChibiOS: Durandal peripheral power on at startup

This commit is contained in:
Randy Mackay 2024-04-16 11:52:37 +09:00 committed by Andrew Tridgell
parent 136ccf66c7
commit 69eff077d7
1 changed files with 3 additions and 5 deletions

View File

@ -107,11 +107,9 @@ define HAL_I2C_INTERNAL_MASK 1
# enable pins
PE3 VDD_3V3_SENSORS_EN OUTPUT LOW
# start peripheral power off, then enable after init
# this prevents a problem with radios that use RTS for
# bootloader hold
PF12 nVDD_5V_HIPOWER_EN OUTPUT HIGH
PG4 nVDD_5V_PERIPH_EN OUTPUT HIGH
# start peripheral power on
PF12 nVDD_5V_HIPOWER_EN OUTPUT LOW
PG4 nVDD_5V_PERIPH_EN OUTPUT LOW
PG5 VDD_5V_RC_EN OUTPUT HIGH
PG6 VDD_5V_WIFI_EN OUTPUT HIGH