mirror of https://github.com/ArduPilot/ardupilot
14 lines
338 B
Plaintext
14 lines
338 B
Plaintext
|
include ../MatekL431/hwdef.inc
|
||
|
|
||
|
define CAN_APP_NODE_NAME "org.ardupilot.MatekL431-Rangefinder"
|
||
|
|
||
|
define HAL_USE_ADC FALSE
|
||
|
define STM32_ADC_USE_ADC1 FALSE
|
||
|
define HAL_DISABLE_ADC_DRIVER TRUE
|
||
|
|
||
|
# support all rangefinder types
|
||
|
define HAL_PERIPH_ENABLE_RANGEFINDER
|
||
|
|
||
|
define AP_PERIPH_RANGEFINDER_PORT_DEFAULT 2
|
||
|
define RANGEFINDER_MAX_INSTANCES 1
|