AP_Airspeed: use board subtypes

This commit is contained in:
Andrew Tridgell 2014-07-07 12:05:45 +10:00
parent 49954a3a61
commit 52c53e55f8

View File

@ -64,6 +64,8 @@ extern const AP_HAL::HAL& hal;
#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
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
#define ARSPD_DEFAULT_PIN AP_AIRSPEED_I2C_PIN
#else #else
#define ARSPD_DEFAULT_PIN 0 #define ARSPD_DEFAULT_PIN 0
#endif #endif