mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
hwdef: remove unnecessary RANGEFINDER_MAX_INSTANCES
This commit is contained in:
parent
673aa5ceb7
commit
49fdc30532
@ -32,7 +32,6 @@ define CAN_APP_NODE_NAME "org.ardupilot.MatekH743-periph"
|
||||
define GPS_MAX_RECEIVERS 1
|
||||
define GPS_MAX_INSTANCES 1
|
||||
define HAL_COMPASS_MAX_SENSORS 1
|
||||
define RANGEFINDER_MAX_INSTANCES 1
|
||||
|
||||
# set up for sensors
|
||||
define HAL_PROBE_EXTERNAL_I2C_BAROS
|
||||
|
@ -10,7 +10,6 @@ define HAL_DISABLE_ADC_DRIVER TRUE
|
||||
define HAL_PERIPH_ENABLE_RANGEFINDER
|
||||
|
||||
define AP_PERIPH_RANGEFINDER_PORT_DEFAULT 2
|
||||
define RANGEFINDER_MAX_INSTANCES 1
|
||||
|
||||
# setup for MSP
|
||||
define HAL_MSP_ENABLED 1
|
||||
|
@ -85,7 +85,6 @@ define HAL_PERIPH_ENABLE_RC_OUT
|
||||
|
||||
define HAL_PERIPH_ENABLE_RANGEFINDER
|
||||
define AP_PERIPH_RANGEFINDER_PORT_DEFAULT 1
|
||||
define RANGEFINDER_MAX_INSTANCES 1
|
||||
|
||||
define HAL_PERIPH_ENABLE_NOTIFY
|
||||
|
||||
|
@ -189,7 +189,6 @@ define AP_PERIPH_MSP_PORT_DEFAULT 4
|
||||
|
||||
# ----------------- rangefinder,ADSB ----------------------
|
||||
define HAL_PERIPH_ENABLE_RANGEFINDER
|
||||
define RANGEFINDER_MAX_INSTANCES 1
|
||||
|
||||
# disable rangefinder by default
|
||||
define AP_PERIPH_RANGEFINDER_PORT_DEFAULT -1
|
||||
|
Loading…
Reference in New Issue
Block a user