File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
variants/STM32U5xx/U595Z(I-J)TxQ_U599Z(I-J)TxQ_U5A5ZJTxQ_U5A9ZJTxQ Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ WEAK void SystemClock_Config(void)
3434
3535 /** Initializes the CPU, AHB and APB buses clocks
3636 */
37- RCC_OscInitStruct .OscillatorType = RCC_OSCILLATORTYPE_HSI48 | RCC_OSCILLATORTYPE_HSI
38- |RCC_OSCILLATORTYPE_LSI | RCC_OSCILLATORTYPE_MSI ;
37+ RCC_OscInitStruct .OscillatorType = RCC_OSCILLATORTYPE_HSI48 | RCC_OSCILLATORTYPE_HSI
38+ | RCC_OSCILLATORTYPE_LSI | RCC_OSCILLATORTYPE_MSI ;
3939 RCC_OscInitStruct .HSIState = RCC_HSI_ON ;
4040 RCC_OscInitStruct .HSI48State = RCC_HSI48_ON ;
4141 RCC_OscInitStruct .HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT ;
@@ -59,9 +59,9 @@ WEAK void SystemClock_Config(void)
5959 }
6060 /** Initializes the CPU, AHB and APB buses clocks
6161 */
62- RCC_ClkInitStruct .ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK
63- |RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2
64- |RCC_CLOCKTYPE_PCLK3 ;
62+ RCC_ClkInitStruct .ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK
63+ | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2
64+ | RCC_CLOCKTYPE_PCLK3 ;
6565 RCC_ClkInitStruct .SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK ;
6666 RCC_ClkInitStruct .AHBCLKDivider = RCC_SYSCLK_DIV1 ;
6767 RCC_ClkInitStruct .APB1CLKDivider = RCC_HCLK_DIV1 ;
You can’t perform that action at this time.
0 commit comments