mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_HAL_SITL: send statustext at regular intervals after watchdog reset
This commit is contained in:
parent
ec460b4244
commit
6f685b8ac5
@ -169,6 +169,7 @@ void HAL_SITL::run(int argc, char * const argv[], Callbacks* callbacks) const
|
||||
AP::internalerror().error(AP_InternalError::error_t::watchdog_reset);
|
||||
if (watchdog_load((uint32_t *)&utilInstance.persistent_data, (sizeof(utilInstance.persistent_data)+3)/4)) {
|
||||
uartA->printf("Loaded watchdog data");
|
||||
utilInstance.last_persistent_data = utilInstance.persistent_data;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user