diff --git a/src/drivers/boards/px4fmu-v5/px4fmu_init.c b/src/drivers/boards/px4fmu-v5/px4fmu_init.c index 940310f6be..74e057a373 100644 --- a/src/drivers/boards/px4fmu-v5/px4fmu_init.c +++ b/src/drivers/boards/px4fmu-v5/px4fmu_init.c @@ -172,7 +172,7 @@ __EXPORT void board_peripheral_reset(int ms) { /* set the peripheral rails off */ - stm32_gpiowrite(GPIO_nVDD_5V_PERIPH_EN, 0); + stm32_gpiowrite(GPIO_nVDD_5V_PERIPH_EN, 1); stm32_gpiowrite(GPIO_VDD_3V3_SENSORS_EN, 0); bool last = stm32_gpioread(GPIO_VDD_3V3_SPEKTRUM_POWER_EN); @@ -188,7 +188,7 @@ __EXPORT void board_peripheral_reset(int ms) /* switch the peripheral rail back on */ stm32_gpiowrite(GPIO_VDD_3V3_SPEKTRUM_POWER_EN, last); stm32_gpiowrite(GPIO_VDD_3V3_SENSORS_EN, 1); - stm32_gpiowrite(GPIO_nVDD_5V_PERIPH_EN, 1); + stm32_gpiowrite(GPIO_nVDD_5V_PERIPH_EN, 0); }