Browse Source

AP_NavEKF2: correct return of empty prearm string

master
Peter Barker 6 years ago committed by Randy Mackay
parent
commit
3619856fc9
  1. 1
      libraries/AP_NavEKF2/AP_NavEKF2_Measurements.cpp

1
libraries/AP_NavEKF2/AP_NavEKF2_Measurements.cpp

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

Loading…
Cancel
Save