mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Airspeed: disable AUTOCAL if airspeed is disabled
This commit is contained in:
parent
81b129d3b3
commit
deb7b13da5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user