AP_Compass: fixed compass timestamps in Replay

This commit is contained in:
Andrew Tridgell 2015-04-20 14:04:06 +10:00
parent dc3fdf76a3
commit d7000c4105
1 changed files with 1 additions and 0 deletions

View File

@ -607,6 +607,7 @@ void Compass::setHIL(float roll, float pitch, float yaw)
void Compass::setHIL(const Vector3f &mag)
{
_hil.field = mag;
_last_update_usec = hal.scheduler->micros();
}
const Vector3f& Compass::getHIL() const {