From 16926a2df8319316790ab63ea40704d476d55f80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 6 Mar 2024 13:33:01 -0300 Subject: [PATCH] AP_Vehicle: Use new default for reboot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- libraries/AP_Vehicle/AP_Vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Vehicle/AP_Vehicle.cpp b/libraries/AP_Vehicle/AP_Vehicle.cpp index 7c5e789fd3..50be28557d 100644 --- a/libraries/AP_Vehicle/AP_Vehicle.cpp +++ b/libraries/AP_Vehicle/AP_Vehicle.cpp @@ -999,7 +999,7 @@ void AP_Vehicle::accel_cal_update() if (ins.accel_cal_requires_reboot() && !hal.util->get_soft_armed()) { hal.scheduler->delay(1000); - hal.scheduler->reboot(false); + hal.scheduler->reboot(); } #endif }