mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 19:40:34 +08:00
boards: px4_fmu-v2/v3 use SPI bus power off rather than full reset
This commit is contained in:
@@ -161,7 +161,7 @@ __EXPORT void board_on_reset(int status)
|
||||
up_mdelay(400);
|
||||
|
||||
/* on reboot (status >= 0) reset sensors and peripherals */
|
||||
board_spi_reset(10, 0xffff);
|
||||
board_control_spi_sensors_power(false, 0xffff);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ __EXPORT void board_on_reset(int status)
|
||||
up_mdelay(400);
|
||||
|
||||
/* on reboot (status >= 0) reset sensors and peripherals */
|
||||
board_spi_reset(10, 0xffff);
|
||||
board_control_spi_sensors_power(false, 0xffff);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user