AP_Airspeed: disable AUTOCAL if airspeed is disabled

This commit is contained in:
Peter Barker 2022-03-12 23:03:14 +11:00 committed by Peter Barker
parent 81b129d3b3
commit deb7b13da5

View File

@ -19,7 +19,7 @@ class AP_Airspeed_Backend;
#endif
#ifndef AP_AIRSPEED_AUTOCAL_ENABLE
#define AP_AIRSPEED_AUTOCAL_ENABLE !defined(HAL_BUILD_AP_PERIPH)
#define AP_AIRSPEED_AUTOCAL_ENABLE AP_AIRSPEED_ENABLED
#endif
#ifndef HAL_MSP_AIRSPEED_ENABLED