AP_HAL_SITL: change in_sensor_config_error to in_config_error

This commit is contained in:
Mark Whitehorn 2019-11-06 15:22:27 -07:00 committed by Peter Barker
parent 6dd28f7d74
commit 3873baf676
1 changed files with 1 additions and 1 deletions

View File

@ -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();