mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 20:48:33 -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)
|
||||
#define ARSPD_DEFAULT_PIN 0
|
||||
#endif
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
#define ARSPD_DEFAULT_PIN AP_AIRSPEED_I2C_PIN
|
||||
#else
|
||||
#define ARSPD_DEFAULT_PIN 0
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user