AP_Airspeed: fixed a typo in the ARSPD_DEFAULT_PIN define

There was a redundant elif for Linux builds.
This commit is contained in:
Staroselskii Georgii 2015-07-07 01:19:14 +03:00 committed by Andrew Tridgell
parent 2eb204d0ca
commit 402f46c56f
1 changed files with 0 additions and 2 deletions

View File

@ -62,8 +62,6 @@ 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_LINUX
#define ARSPD_DEFAULT_PIN AP_AIRSPEED_I2C_PIN
#else
#define ARSPD_DEFAULT_PIN 0
#endif