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