From d19608c9221fe0016a277229fdf8db2bb625dc29 Mon Sep 17 00:00:00 2001 From: Martin Luessi Date: Thu, 7 Sep 2023 05:53:33 -0700 Subject: [PATCH] AP_HAL_ChibiOS: Allow custom STM32_PLL1_DIVQ_VALUE for H7 --- libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h b/libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h index 1723d2b694..5dd61c4c6c 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/stm32h7_mcuconf.h @@ -171,7 +171,9 @@ #define STM32_PLL1_DIVN_VALUE 100 #endif #define STM32_PLL1_DIVP_VALUE 2 +#ifndef STM32_PLL1_DIVQ_VALUE #define STM32_PLL1_DIVQ_VALUE 10 +#endif #define STM32_PLL1_DIVR_VALUE 2 #define STM32_PLL2_DIVN_VALUE 45