#pragma once #include #include #include #ifndef AP_AIRSPEED_ENABLED #define AP_AIRSPEED_ENABLED 1 #endif #ifndef AP_AIRSPEED_MSP_ENABLED #define AP_AIRSPEED_MSP_ENABLED (AP_AIRSPEED_ENABLED && HAL_MSP_SENSORS_ENABLED) #endif #ifndef AIRSPEED_MAX_SENSORS #define AIRSPEED_MAX_SENSORS 2 #endif #ifndef AP_AIRSPEED_AUTOCAL_ENABLE #define AP_AIRSPEED_AUTOCAL_ENABLE AP_AIRSPEED_ENABLED #endif #ifndef AP_AIRSPEED_HYGROMETER_ENABLE #define AP_AIRSPEED_HYGROMETER_ENABLE (AP_AIRSPEED_ENABLED && BOARD_FLASH_SIZE > 1024) #endif