AP_HAL_ChibiOS: Use new default for reboot

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2024-03-06 13:33:01 -03:00 committed by Peter Barker
parent 8fa4d6200c
commit ce9fa18800
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ void Util::boot_to_dfu()
{
hal.util->persistent_data.boot_to_dfu = true;
stm32_watchdog_save((uint32_t *)&hal.util->persistent_data, (sizeof(hal.util->persistent_data)+3)/4);
hal.scheduler->reboot(false);
hal.scheduler->reboot();
}
#endif