mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 04:13:34 +08:00
px4iofirmware: make forceupdate more reliable
this schedules a reboot rather than rebooting immediately, which means the FMU gets an ACK for its reboot operation, preventing it from timing out waiting for the ACK. That makes the timing of the reboot more consistent, which makes it more reliable for forceupdate
This commit is contained in:
committed by
Lorenz Meier
parent
76477b2057
commit
1a13e66aab
@@ -220,3 +220,7 @@ extern volatile uint8_t debug_level;
|
||||
|
||||
/** send a debug message to the console */
|
||||
extern void isr_debug(uint8_t level, const char *fmt, ...);
|
||||
|
||||
/** schedule a reboot */
|
||||
extern void schedule_reboot(uint32_t time_delta_usec);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user