AP_HAL_ChibiOS: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
8fa4d6200c
commit
ce9fa18800
@ -835,7 +835,7 @@ void Util::boot_to_dfu()
|
|||||||
{
|
{
|
||||||
hal.util->persistent_data.boot_to_dfu = true;
|
hal.util->persistent_data.boot_to_dfu = true;
|
||||||
stm32_watchdog_save((uint32_t *)&hal.util->persistent_data, (sizeof(hal.util->persistent_data)+3)/4);
|
stm32_watchdog_save((uint32_t *)&hal.util->persistent_data, (sizeof(hal.util->persistent_data)+3)/4);
|
||||||
hal.scheduler->reboot(false);
|
hal.scheduler->reboot();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user