mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Airspeed: added VRBRAIN board type
This commit is contained in:
parent
ffd26e59cd
commit
25818f08a3
@ -33,7 +33,7 @@ extern const AP_HAL::HAL& hal;
|
|||||||
#define ARSPD_DEFAULT_PIN 0
|
#define ARSPD_DEFAULT_PIN 0
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||||
#define ARSPD_DEFAULT_PIN 1
|
#define ARSPD_DEFAULT_PIN 1
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -188,7 +188,7 @@ private:
|
|||||||
float get_pressure(void);
|
float get_pressure(void);
|
||||||
|
|
||||||
AP_Airspeed_Analog analog;
|
AP_Airspeed_Analog analog;
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
|
||||||
AP_Airspeed_PX4 digital;
|
AP_Airspeed_PX4 digital;
|
||||||
#else
|
#else
|
||||||
AP_Airspeed_I2C digital;
|
AP_Airspeed_I2C digital;
|
||||||
|
Loading…
Reference in New Issue
Block a user