hwdef: use HAL_PERIPH_ENABLE_PROXIMITY

This commit is contained in:
Andrew Tridgell 2023-08-26 19:53:21 +10:00
parent 9bb8df7b70
commit c0cd255135

View File

@ -7,6 +7,7 @@ define STM32_ADC_USE_ADC1 FALSE
define HAL_DISABLE_ADC_DRIVER TRUE define HAL_DISABLE_ADC_DRIVER TRUE
# support all proximity types # support all proximity types
define HAL_PERIPH_ENABLE_PROXIMITY
define HAL_PROXIMITY_ENABLED 1 define HAL_PROXIMITY_ENABLED 1
define AP_PERIPH_PRX_PORT_DEFAULT 2 define AP_PERIPH_PRX_PORT_DEFAULT 2