update stm32f2/f4: fixed PLL_M define.

This commit is contained in:
aozima 2015-04-27 11:54:22 +08:00
parent 5d65e6eeb6
commit 3563c195fb
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@
/* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLL_M) * PLL_N */
#define PLL_M 25
#define PLL_M (HSE_VALUE / 1000000)
#define PLL_N 240
/* SYSCLK = PLL_VCO / PLL_P */

View File

@ -146,7 +146,7 @@
/************************* PLL Parameters *************************************/
/* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLL_M) * PLL_N */
#define PLL_M 25
#define PLL_M (HSE_VALUE / 1000000)
#define PLL_N 336
/* SYSCLK = PLL_VCO / PLL_P */