hwdef: remove unnecessary RANGEFINDER_MAX_INSTANCES

This commit is contained in:
Andrew Tridgell 2022-12-30 16:04:41 +11:00
parent 673aa5ceb7
commit 49fdc30532
4 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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