Browse Source

AP_Airspeed: added #defines for new VR boards.

master
Emile Castelnuovo 10 years ago committed by Andrew Tridgell
parent
commit
de8a0ebc08
  1. 8
      libraries/AP_Airspeed/AP_Airspeed.cpp

8
libraries/AP_Airspeed/AP_Airspeed.cpp

@ -59,12 +59,12 @@ extern const AP_HAL::HAL& hal; @@ -59,12 +59,12 @@ extern const AP_HAL::HAL& hal;
#define ARSPD_DEFAULT_PIN 0
#elif defined(CONFIG_ARCH_BOARD_VRBRAIN_V51)
#define ARSPD_DEFAULT_PIN 0
#elif defined(CONFIG_ARCH_BOARD_VRBRAIN_V52)
#define ARSPD_DEFAULT_PIN 0
#elif defined(CONFIG_ARCH_BOARD_VRUBRAIN_V51)
#if APM_BUILD_TYPE(APM_BUILD_ArduPlane)
#define ARSPD_DEFAULT_PIN 1
#else
#define ARSPD_DEFAULT_PIN 0
#endif
#elif defined(CONFIG_ARCH_BOARD_VRUBRAIN_V52)
#define ARSPD_DEFAULT_PIN 0
#elif defined(CONFIG_ARCH_BOARD_VRHERO_V10)
#define ARSPD_DEFAULT_PIN 0
#endif

Loading…
Cancel
Save