mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
dc5492f9ca
some DroneCAN airspeed sensors can send hygrometer data, for when they have de-icing support
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
|