AP_HAL_ChibiOS: change ADSB to use param ADSB_PORT instead of define
This commit is contained in:
parent
2a4fef73dd
commit
f670f7a9b6
@ -12,7 +12,7 @@ define HAL_AIRSPEED_BUS_DEFAULT 0
|
||||
define AIRSPEED_MAX_SENSORS 1
|
||||
|
||||
# ADSB enable
|
||||
define ADSB_PORT hal.serial(3)
|
||||
define HAL_PERIPH_ADSB_PORT_DEFAULT 3
|
||||
define HAL_PERIPH_ENABLE_ADSB
|
||||
define HAL_PERIPH_ENABLE_AIRSPEED
|
||||
# define HAL_PERIPH_ENABLE_MAG
|
||||
|
@ -151,7 +151,7 @@ define HAL_PERIPH_ENABLE_RANGEFINDER
|
||||
define HAL_PERIPH_ENABLE_MSP
|
||||
|
||||
# allow for rangefinder to be plugged in on "MSP" port
|
||||
define ADSB_PORT hal.serial(1)
|
||||
define HAL_PERIPH_ADSB_PORT_DEFAULT 1
|
||||
define HAL_PERIPH_ENABLE_ADSB
|
||||
|
||||
define HAL_MSP_ENABLED 1
|
||||
|
@ -18,7 +18,7 @@ define HAL_PERIPH_ENABLE_ADSB
|
||||
define HAL_PERIPH_ENABLE_NCP5623_LED
|
||||
define HAL_PERIPH_ENABLE_RANGEFINDER
|
||||
|
||||
define ADSB_PORT hal.serial(3)
|
||||
define HAL_PERIPH_ADSB_PORT_DEFAULT 3
|
||||
|
||||
define HAL_AIRSPEED_BUS_DEFAULT 0
|
||||
define AIRSPEED_MAX_SENSORS 1
|
||||
|
Loading…
Reference in New Issue
Block a user