Skip to content

Commit 6df20c5

Browse files
BennehBoyfpistm
authored andcommitted
Correct PLL Freq from 25 to 8 to fix USB
1 parent 35456c8 commit 6df20c5

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)