Skip to content

Commit 034d8c2

Browse files
Aurentiaco35fpistm
andauthored
Update variants/STM32H7xx/H7A3V(G-I)(H-T)_H7B0VBT_H7B3VI(H-T)/generic_clock.c
Co-authored-by: Frederic Pillon <[email protected]> Signed-off-by: Aurentiaco35 <[email protected]>
1 parent 71b9160 commit 034d8c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

variants/STM32H7xx/H7A3V(G-I)(H-T)_H7B0VBT_H7B3VI(H-T)/generic_clock.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ WEAK void SystemClock_Config(void)
6161

6262
/** Initializes the CPU, AHB and APB buses clocks
6363
*/
64-
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
65-
|RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2
66-
|RCC_CLOCKTYPE_D3PCLK1|RCC_CLOCKTYPE_D1PCLK1;
64+
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK
65+
| RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2
66+
| RCC_CLOCKTYPE_D3PCLK1 | RCC_CLOCKTYPE_D1PCLK1;
6767
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
6868
RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1;
6969
RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV1;

0 commit comments

Comments
 (0)