AP_NavEKF2: correct return of empty prearm string

This commit is contained in:
Peter Barker 2019-09-09 17:57:31 +10:00 committed by Andrew Tridgell
parent 6693610c7a
commit 784edac137

View File

@ -603,6 +603,7 @@ void NavEKF2_core::readGpsData()
} else {
// report GPS fix status
gpsCheckStatus.bad_fix = true;
hal.util->snprintf(prearm_fail_string, sizeof(prearm_fail_string), "Waiting for 3D fix");
}
}
}