diff --git a/libraries/AP_Airspeed/AP_Airspeed.cpp b/libraries/AP_Airspeed/AP_Airspeed.cpp index 6c97b224569f4e4e03237e161800ca3e8541f458..3373488d6bc6efdc8fb7661f052d7a95e658dbbd 100644 --- a/libraries/AP_Airspeed/AP_Airspeed.cpp +++ b/libraries/AP_Airspeed/AP_Airspeed.cpp @@ -50,6 +50,14 @@ extern const AP_HAL::HAL& hal; #define ARSPD_DEFAULT_PIN 16 #elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX #define ARSPD_DEFAULT_PIN AP_AIRSPEED_I2C_PIN +#elif CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN +#if defined(CONFIG_ARCH_BOARD_VRBRAIN_V4) + #define ARSPD_DEFAULT_PIN 0 +#elif defined(CONFIG_ARCH_BOARD_VRBRAIN_V5) + #define ARSPD_DEFAULT_PIN 0 +#elif defined(CONFIG_ARCH_BOARD_VRHERO_V1) + #define ARSPD_DEFAULT_PIN 0 +#endif #else #define ARSPD_DEFAULT_PIN 0 #endif