mirror of https://github.com/ArduPilot/ardupilot
AP_Airspeed: allow more libraries to compile with no HAL_GCS_ENABLED
This commit is contained in:
parent
73a09f3dc5
commit
996399331b
|
@ -168,6 +168,7 @@ void AP_Airspeed::update_calibration(const Vector3f &vground, int16_t max_airspe
|
|||
}
|
||||
|
||||
|
||||
#if HAL_GCS_ENABLED
|
||||
void AP_Airspeed::send_airspeed_calibration(const Vector3f &vground)
|
||||
{
|
||||
#if AP_AIRSPEED_AUTOCAL_ENABLE
|
||||
|
@ -189,5 +190,6 @@ void AP_Airspeed::send_airspeed_calibration(const Vector3f &vground)
|
|||
(const char *)&packet);
|
||||
#endif // AP_AIRSPEED_AUTOCAL_ENABLE
|
||||
}
|
||||
#endif // HAL_GCS_ENABLED
|
||||
|
||||
#endif // AP_AIRSPEED_ENABLED
|
||||
|
|
Loading…
Reference in New Issue