From ed208687b482d4ec901a814f2a3ee8dfce562f77 Mon Sep 17 00:00:00 2001 From: Joshua Henderson Date: Thu, 27 Jan 2022 22:56:11 -0500 Subject: [PATCH] hwdef: Pixracer-periph, use AP_PERIPH_RANGEFINDER_PORT_DEFAULT --- libraries/AP_HAL_ChibiOS/hwdef/Pixracer-periph/hwdef.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Pixracer-periph/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Pixracer-periph/hwdef.dat index 08ca400df0..41c795393d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Pixracer-periph/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Pixracer-periph/hwdef.dat @@ -84,7 +84,7 @@ define HAL_PERIPH_ENABLE_BATTERY define HAL_PERIPH_ENABLE_RC_OUT define HAL_PERIPH_ENABLE_RANGEFINDER -define HAL_PERIPH_RANGEFINDER_PORT_DEFAULT 1 +define AP_PERIPH_RANGEFINDER_PORT_DEFAULT 1 define RANGEFINDER_MAX_INSTANCES 1 define HAL_PERIPH_ENABLE_NOTIFY