mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Airspeed: use board subtypes
This commit is contained in:
parent
49954a3a61
commit
52c53e55f8
@ -64,6 +64,8 @@ extern const AP_HAL::HAL& hal;
|
|||||||
#elif defined(CONFIG_ARCH_BOARD_VRHERO_V10)
|
#elif defined(CONFIG_ARCH_BOARD_VRHERO_V10)
|
||||||
#define ARSPD_DEFAULT_PIN 0
|
#define ARSPD_DEFAULT_PIN 0
|
||||||
#endif
|
#endif
|
||||||
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||||
|
#define ARSPD_DEFAULT_PIN AP_AIRSPEED_I2C_PIN
|
||||||
#else
|
#else
|
||||||
#define ARSPD_DEFAULT_PIN 0
|
#define ARSPD_DEFAULT_PIN 0
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user