hwdef: use AP_PERIPH_PROBE_CONTINUOUS for dedicated rangefinders

these are used with sensors that may take a long time to startup and
the delay won't cause any issues as there are no other sensors
supported
This commit is contained in:
Andrew Tridgell 2023-03-06 08:59:43 +11:00
parent d3bf7fc946
commit 7be6fe9841
2 changed files with 6 additions and 0 deletions

View File

@ -13,3 +13,6 @@ define AP_PERIPH_RANGEFINDER_PORT_DEFAULT 2
# setup for MSP
define HAL_MSP_ENABLED 1
# some lidars take a long time to init, keep probing till we find it
define AP_PERIPH_PROBE_CONTINUOUS 1

View File

@ -15,3 +15,6 @@ define HAL_NO_ROMFS_SUPPORT
# setup for MSP
define HAL_MSP_ENABLED 1
# some lidars take a long time to init, keep probing till we find it
define AP_PERIPH_PROBE_CONTINUOUS 1