Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 46b92c8

Browse files
BennehBoyfpistm
authored andcommittedJan 6, 2019
Correct PLL Freq from 25 to 8 to fix USB
1 parent 6a5b8bd commit 46b92c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎variants/DIYMROE_F407VGT/variant.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ WEAK void SystemClock_Config(void)
184184
RCC_OscInitStruct.HSEState = RCC_HSE_ON;
185185
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
186186
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
187-
RCC_OscInitStruct.PLL.PLLM = 25;
187+
RCC_OscInitStruct.PLL.PLLM = 8;
188188
RCC_OscInitStruct.PLL.PLLN = 336;
189189
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2;
190190
RCC_OscInitStruct.PLL.PLLQ = 7;

0 commit comments

Comments
 (0)
Please sign in to comment.