AP_Airspeed: defualt to type none on sub

This commit is contained in:
Iampete1 2020-07-18 23:01:12 +01:00 committed by Andrew Tridgell
parent 73594cb19b
commit 0e41b821e8
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ extern const AP_HAL::HAL &hal;
#elif CONFIG_HAL_BOARD == HAL_BOARD_SITL
#define ARSPD_DEFAULT_TYPE TYPE_ANALOG
#define ARSPD_DEFAULT_PIN 1
#elif APM_BUILD_TYPE(APM_BUILD_Rover)
#elif APM_BUILD_TYPE(APM_BUILD_Rover) || APM_BUILD_TYPE(APM_BUILD_ArduSub)
#define ARSPD_DEFAULT_TYPE TYPE_NONE
#define ARSPD_DEFAULT_PIN 15
#else