diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f103-RangeFinder/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f103-RangeFinder/hwdef.dat index 104433c6fa..2cb20c766e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f103-RangeFinder/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/f103-RangeFinder/hwdef.dat @@ -8,7 +8,7 @@ define AIRSPEED_MAX_SENSORS 1 define HAL_PERIPH_ENABLE_RANGEFINDER -define HAL_PERIPH_RANGEFINDER_PORT_DEFAULT 3 +define AP_PERIPH_RANGEFINDER_PORT_DEFAULT 3 # we're too low on flash with old compiler for bootloader define HAL_NO_ROMFS_SUPPORT