Skip to content

Commit

Permalink
HAL_ChibiOS: ensure HI_POWER periph is on
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge authored and peterbarker committed Sep 7, 2021
1 parent 532396e commit 2e4766f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/common/stm32_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ void peripheral_power_enable(void)
#ifdef HAL_GPIO_PIN_nVDD_5V_HIPOWER_EN
palWriteLine(HAL_GPIO_PIN_nVDD_5V_HIPOWER_EN, 0);
#endif
#ifdef HAL_GPIO_PIN_VDD_5V_HIPOWER_EN
palWriteLine(HAL_GPIO_PIN_VDD_5V_HIPOWER_EN, 1);
#endif
#ifdef HAL_GPIO_PIN_VDD_3V3_SENSORS_EN
// the TBS-Colibri-F7 needs PE3 low at power on
palWriteLine(HAL_GPIO_PIN_VDD_3V3_SENSORS_EN, 1);
Expand Down

0 comments on commit 2e4766f

Please sign in to comment.