mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
HAL_SITL: update for changed API
This commit is contained in:
parent
61da827c16
commit
4318fd0ab8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user