DataFlash: Fix logging error for EKF second instance

This commit is contained in:
Paul Riseborough 2015-11-09 13:39:22 +11:00 committed by Andrew Tridgell
parent 5d2f78996a
commit 42b47acdfc

View File

@ -1492,6 +1492,7 @@ void DataFlash_Class::Log_Write_EKF2(AP_AHRS_NavEKF &ahrs, bool optFlowEnabled)
// Write 9th EKF packet
ahrs.get_NavEKF2().getVariances(1,velVar, posVar, hgtVar, magVar, tasVar, offset);
magLength = magVar.length();
ahrs.get_NavEKF2().getFilterFaults(1,faultStatus);
ahrs.get_NavEKF2().getFilterTimeouts(1,timeoutStatus);
ahrs.get_NavEKF2().getFilterStatus(1,solutionStatus);