diff options
| author | Valentyn Korniienko <[email protected]> | 2026-03-30 23:23:59 +0300 |
|---|---|---|
| committer | Valentyn Korniienko <[email protected]> | 2026-03-30 23:23:59 +0300 |
| commit | 2920f242658d0983ce8a4ea6b7518760ff24bf99 (patch) | |
| tree | 948a97b9d9908f5a103a4a785889f200e96d0c80 | |
| parent | b46cd6c21fcc2d5c24c4aa9075a5f517a2cdc2cd (diff) | |
Dead code removal
| -rw-r--r-- | hw/bsp/stm32h7/boards/stm32h743_weact/board.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/hw/bsp/stm32h7/boards/stm32h743_weact/board.h b/hw/bsp/stm32h7/boards/stm32h743_weact/board.h index 52ff12593..81cf18755 100644 --- a/hw/bsp/stm32h7/boards/stm32h743_weact/board.h +++ b/hw/bsp/stm32h7/boards/stm32h743_weact/board.h @@ -133,22 +133,6 @@ static inline void SystemClock_Config(void) { Error_Handler(); } - // Initialize USB clock - // RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; - // PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_USB; - // PeriphClkInitStruct.PLL3.PLL3M = 1; - // PeriphClkInitStruct.PLL3.PLL3N = 24; - // PeriphClkInitStruct.PLL3.PLL3P = 2; - // PeriphClkInitStruct.PLL3.PLL3Q = 4; - // PeriphClkInitStruct.PLL3.PLL3R = 2; - // PeriphClkInitStruct.PLL3.PLL3RGE = RCC_PLL3VCIRANGE_3; - // PeriphClkInitStruct.PLL3.PLL3FRACN = 0; - // PeriphClkInitStruct.UsbClockSelection = RCC_USBCLKSOURCE_PLL3; - // if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK) { - // //assert(false); - // Error_Handler(); - // } - // Initialize USB clock from internal HSI RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_USB; |
