AP_Airspeed: added #defines for new VR boards.

This commit is contained in:
Emile Castelnuovo 2014-12-30 11:26:45 +01:00 committed by Andrew Tridgell
parent cd9537e1f8
commit de8a0ebc08
1 changed files with 5 additions and 5 deletions

View File

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