DataFlash: correct logging interval of XKFD message

This commit is contained in:
Peter Barker 2018-04-01 01:41:26 +11:00 committed by Randy Mackay
parent 32795f0a8f
commit ac99d37bc1

View File

@ -1380,7 +1380,7 @@ void DataFlash_Class::Log_Write_EKF3(AP_AHRS_NavEKF &ahrs)
velInnovVarZ : velBodyInnovVar.z
};
WriteBlock(&pkt11, sizeof(pkt11));
updateTime_ms = lastUpdateTime_ms;
lastUpdateTime_ms = updateTime_ms;
}
// log state variances every 0.49s