AP_HAL_ChibiOS: Durandal peripheral power on at startup

This commit is contained in:
Randy Mackay 2024-04-16 11:52:37 +09:00
parent fb40b3e6fc
commit 2695af6be4
1 changed files with 3 additions and 5 deletions

View File

@ -109,11 +109,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