mirror of https://github.com/ArduPilot/ardupilot
AP_Airspeed: defualt to type none on sub
This commit is contained in:
parent
73594cb19b
commit
0e41b821e8
|
@ -48,7 +48,7 @@ extern const AP_HAL::HAL &hal;
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
#define ARSPD_DEFAULT_TYPE TYPE_ANALOG
|
#define ARSPD_DEFAULT_TYPE TYPE_ANALOG
|
||||||
#define ARSPD_DEFAULT_PIN 1
|
#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_TYPE TYPE_NONE
|
||||||
#define ARSPD_DEFAULT_PIN 15
|
#define ARSPD_DEFAULT_PIN 15
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue