diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/stm32l4+_mcuconf.h b/libraries/AP_HAL_ChibiOS/hwdef/common/stm32l4+_mcuconf.h index da052820ae6..853341489a3 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/stm32l4+_mcuconf.h +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/stm32l4+_mcuconf.h @@ -240,10 +240,10 @@ * I2C driver system settings. */ #define STM32_I2C_BUSY_TIMEOUT 50 -#define STM32_I2C_I2C1_IRQ_PRIORITY 5 -#define STM32_I2C_I2C2_IRQ_PRIORITY 5 -#define STM32_I2C_I2C3_IRQ_PRIORITY 5 -#define STM32_I2C_I2C4_IRQ_PRIORITY 5 +#define STM32_IRQ_I2C1_PRIORITY 5 +#define STM32_IRQ_I2C2_PRIORITY 5 +#define STM32_IRQ_I2C3_PRIORITY 5 +#define STM32_IRQ_I2C4_PRIORITY 5 #define STM32_I2C_I2C1_DMA_PRIORITY 3 #define STM32_I2C_I2C2_DMA_PRIORITY 3 #define STM32_I2C_I2C3_DMA_PRIORITY 3