From 2920f242658d0983ce8a4ea6b7518760ff24bf99 Mon Sep 17 00:00:00 2001 From: Valentyn Korniienko <25596072+ValentiWorkLearning@users.noreply.github.com> Date: Mon, 30 Mar 2026 23:23:59 +0300 Subject: [PATCH] Dead code removal --- hw/bsp/stm32h7/boards/stm32h743_weact/board.h | 16 ---------------- 1 file changed, 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;