From fced7d78fca79cefa7547ceaa462cc9b578ee22f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 7 Jan 2020 17:13:15 +1100 Subject: [PATCH] HAL_ChibiOS: fixed clock src for I2C4 on H7 --- libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h b/libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h index 924abf6d39..4a3c29226e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h @@ -178,7 +178,7 @@ #define STM32_ADCSEL STM32_ADCSEL_PLL3_R_CK #define STM32_LPTIM345SEL STM32_LPTIM345SEL_PCLK4 #define STM32_LPTIM2SEL STM32_LPTIM2SEL_PCLK4 -#define STM32_I2C4SEL STM32_I2C4SEL_PCLK4 +#define STM32_I2C4SEL STM32_I2C4SEL_PLL3_R_CK #define STM32_LPUART1SEL STM32_LPUART1SEL_PCLK4 #define STM32_SDMMCSEL STM32_SDMMCSEL_PLL1_Q_CK