Compass: fixed last_update time for HIL compass

This commit is contained in:
Andrew Tridgell 2012-03-04 20:34:44 +11:00
parent 2969e16f7d
commit 8b73166605
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@
bool AP_Compass_HIL::read() bool AP_Compass_HIL::read()
{ {
// values set by setHIL function // values set by setHIL function
last_update = millis(); // record time of update
return true; return true;
} }