mirror of https://github.com/ArduPilot/ardupilot
26 lines
591 B
C
26 lines
591 B
C
#pragma once
|
|
|
|
#include <AP_Common/AP_Common.h>
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
#include <AP_MSP/msp.h>
|
|
|
|
#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
|