Merge pull request #466 from aozima/pulls

update stm32f2/f4: fixed PLL_M define.
This commit is contained in:
Bernard Xiong 2015-04-28 08:36:34 +08:00
commit f111495b4f
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 */