AP_IOMCU: handle watchdog reset in IO firmware
This commit is contained in:
parent
340722c3c3
commit
6181c66e5c
@ -176,6 +176,11 @@ void AP_IOMCU_FW::init()
|
||||
|
||||
// we do no allocations after setup completes
|
||||
reg_status.freemem = hal.util->available_memory();
|
||||
|
||||
if (hal.util->was_watchdog_safety_off()) {
|
||||
hal.rcout->force_safety_off();
|
||||
reg_status.flag_safety_off = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user