AP_NavEKF3: param conversion loses config_error

config_error should only be run as part of setup because it may never return
This commit is contained in:
Randy Mackay 2020-11-26 16:45:41 +09:00
parent 8c959c4e13
commit 4cd1c3cfde
1 changed files with 2 additions and 2 deletions

View File

@ -1592,8 +1592,8 @@ void NavEKF3::convert_parameters()
break;
case 3:
default:
// EK3_GPS_TYPE == 3 (No GPS) we don't know what to do, could be optical flow or external nav
AP_BoardConfig::config_error("Configure EK3_SRC1_POSXY and _VELXY");
// EK3_GPS_TYPE == 3 (No GPS) we don't know what to do, could be optical flow, beacon or external nav
sources.mark_configured_in_storage();
break;
}
} else {