Skip to content

Commit

Permalink
AP_Airspeed: disable airspeed (_TYPE=0) as rover default
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub authored and rmackay9 committed Feb 7, 2019
1 parent 937e05b commit 95c903c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/AP_Airspeed/AP_Airspeed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ extern const AP_HAL::HAL &hal;
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#define ARSPD_DEFAULT_TYPE TYPE_ANALOG
#define ARSPD_DEFAULT_PIN 1
#elif APM_BUILD_TYPE(APM_BUILD_APMrover2)
#define ARSPD_DEFAULT_TYPE TYPE_NONE
#define ARSPD_DEFAULT_PIN 15
#else
#define ARSPD_DEFAULT_TYPE TYPE_I2C_MS4525
#define ARSPD_DEFAULT_PIN 15
Expand Down

0 comments on commit 95c903c

Please sign in to comment.