From 3873baf676aba27bfbd79b2e090b406f5031da29 Mon Sep 17 00:00:00 2001 From: Mark Whitehorn Date: Wed, 6 Nov 2019 15:22:27 -0700 Subject: [PATCH] AP_HAL_SITL: change in_sensor_config_error to in_config_error --- libraries/AP_HAL_SITL/Scheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_SITL/Scheduler.cpp b/libraries/AP_HAL_SITL/Scheduler.cpp index 2667f4ff48..79fc130db5 100644 --- a/libraries/AP_HAL_SITL/Scheduler.cpp +++ b/libraries/AP_HAL_SITL/Scheduler.cpp @@ -163,7 +163,7 @@ void Scheduler::sitl_end_atomic() { void Scheduler::reboot(bool hold_in_bootloader) { - if (AP_BoardConfig::in_sensor_config_error()) { + if (AP_BoardConfig::in_config_error()) { // the _should_reboot flag set below is not checked by the // sensor-config-error loop, so force the reboot here: HAL_SITL::actually_reboot();