From 36d62367cbe385d8de702c506e35b2ee6589bc3f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 3 Oct 2019 21:02:28 +1000 Subject: [PATCH] HAL_ChibiOS: enable airspeed in f103-ADSB --- libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef.dat | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef.dat index 90a2ae1e85..f318767e99 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef.dat @@ -7,6 +7,11 @@ define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_adsb" define HAL_CAN_DEFAULT_NODE_ID 116 +define HAL_AIRSPEED_BUS_DEFAULT 0 +define AIRSPEED_MAX_SENSORS 1 + # ADSB enable define ADSB_PORT hal.uartB define HAL_PERIPH_ENABLE_ADSB +define HAL_PERIPH_ENABLE_AIRSPEED +# define HAL_PERIPH_ENABLE_MAG