Browse Source

AP_Airspeed: fixed a typo in the ARSPD_DEFAULT_PIN define

There was a redundant elif for Linux builds.
master
Staroselskii Georgii 10 years ago committed by Andrew Tridgell
parent
commit
402f46c56f
  1. 2
      libraries/AP_Airspeed/AP_Airspeed.cpp

2
libraries/AP_Airspeed/AP_Airspeed.cpp

@ -62,8 +62,6 @@ extern const AP_HAL::HAL& hal; @@ -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

Loading…
Cancel
Save