mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
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:
parent
8c959c4e13
commit
4cd1c3cfde
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user