forked from Archive/PX4-Autopilot
boards: px4_fmu-v2/v3 use SPI bus power off rather than full reset
This commit is contained in:
parent
c4de9f67a1
commit
25846f48c4
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue