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-12 21:13:41 +11:00
committed by Peter Barker
parent 8fa4d6200c
commit ce9fa18800
+1 -1
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