AP_Mount: correct compilation with HAL_INS_ACCELCAL_ENABLED false

This commit is contained in:
Peter Barker 2022-03-18 18:02:30 +11:00 committed by Andrew Tridgell
parent 3dae386ae3
commit 38a1c4412a

View File

@ -51,7 +51,9 @@ public:
_log_del_ang(),
_log_del_vel()
{
#if HAL_INS_ACCELCAL_ENABLED
AP_AccelCal::register_client(this);
#endif
}
void update_target(const Vector3f &newTarget);