AP_HAL_Chibios: add_12Mhz_Clock_stm32F405

There was no option for 12Mhz for STM32F405
This commit is contained in:
Lokesh Ramina 2022-05-12 15:30:33 +10:00 committed by Andrew Tridgell
parent f2574c8d35
commit adfb2f9cad

View File

@ -178,6 +178,11 @@
#define STM32_PLLN_VALUE 336
#define STM32_PLLP_VALUE 2
#define STM32_PLLQ_VALUE 7
#elif STM32_HSECLK == 12000000U
#define STM32_PLLM_VALUE 12
#define STM32_PLLN_VALUE 336
#define STM32_PLLP_VALUE 2
#define STM32_PLLQ_VALUE 7
#elif STM32_HSECLK == 16000000U
#define STM32_PLLM_VALUE 16
#define STM32_PLLN_VALUE 336