HAL_SITL: update for changed API

This commit is contained in:
Andrew Tridgell 2016-05-04 17:10:38 +10:00
parent 61da827c16
commit 4318fd0ab8
1 changed files with 2 additions and 2 deletions

View File

@ -86,8 +86,8 @@ void SITL_State::_update_compass(float rollDeg, float pitchDeg, float yawDeg)
new_mag_data -= _sitl->mag_ofs.get();
_compass->setHIL(0, new_mag_data);
_compass->setHIL(1, new_mag_data);
_compass->setHIL(0, new_mag_data, AP_HAL::micros());
_compass->setHIL(1, new_mag_data, AP_HAL::micros());
}
#endif