Copter: allow mavlink messages to be exchanged on failed boot

This commit is contained in:
Peter Barker 2017-06-06 17:18:51 +10:00 committed by Randy Mackay
parent 694b42c8f4
commit 1dbf1086b0

View File

@ -862,7 +862,7 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
// if we have not yet initialised (including allocating the motors
// object) we drop this request. That prevents the GCS from getting
// a confusing parameter count during bootup
if (!copter.ap.initialised_params) {
if (!copter.ap.initialised_params && !AP_BoardConfig::in_sensor_config_error()) {
break;
}