From 52c53e55f824afe490f956a6cb35b52882337255 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 7 Jul 2014 12:05:45 +1000 Subject: [PATCH] AP_Airspeed: use board subtypes --- libraries/AP_Airspeed/AP_Airspeed.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_Airspeed/AP_Airspeed.cpp b/libraries/AP_Airspeed/AP_Airspeed.cpp index 04a699f78f..87d19aae1b 100644 --- a/libraries/AP_Airspeed/AP_Airspeed.cpp +++ b/libraries/AP_Airspeed/AP_Airspeed.cpp @@ -64,6 +64,8 @@ extern const AP_HAL::HAL& hal; #elif defined(CONFIG_ARCH_BOARD_VRHERO_V10) #define ARSPD_DEFAULT_PIN 0 #endif +#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX + #define ARSPD_DEFAULT_PIN AP_AIRSPEED_I2C_PIN #else #define ARSPD_DEFAULT_PIN 0 #endif