mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 12:48:54 +08:00
px4fmu-v2 board_on_reset also reinit spi
This commit is contained in:
committed by
Lorenz Meier
parent
83d01a7c76
commit
ba90952e07
@@ -186,6 +186,9 @@ __EXPORT void board_on_reset(int status)
|
||||
|
||||
if (status >= 0) {
|
||||
up_mdelay(400);
|
||||
|
||||
/* on reboot (status >= 0) reset sensors and peripherals */
|
||||
board_spi_reset(10);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user