Changeset 28 for trunk/firmware_v2/Core/Src/main.c
- Timestamp:
- Oct 26, 2025, 5:43:37 PM (3 days ago)
- File:
-
- 1 edited
-
trunk/firmware_v2/Core/Src/main.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/firmware_v2/Core/Src/main.c
r23 r28 21 21 #include "adc.h" 22 22 #include "dma.h" 23 #include "iwdg.h" 23 24 #include "tim.h" 24 25 #include "usart.h" … … 96 97 MX_USART1_UART_Init(); 97 98 MX_TIM16_Init(); 99 MX_IWDG_Init(); 98 100 /* USER CODE BEGIN 2 */ 99 101 … … 125 127 * in the RCC_OscInitTypeDef structure. 126 128 */ 127 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI ;129 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_LSI; 128 130 RCC_OscInitStruct.HSIState = RCC_HSI_ON; 129 131 RCC_OscInitStruct.HSIDiv = RCC_HSI_DIV4; 130 132 RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT; 133 RCC_OscInitStruct.LSIState = RCC_LSI_ON; 131 134 if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) 132 135 {
Note: See TracChangeset
for help on using the changeset viewer.
