04-12-2017, 11:41 AM
Probaj da tvoj kod staviš između ovih direktiva:
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_HSE;
/* USER CODE BEGIN 1 */
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
/* USER CODE END 1 */
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_HSE;
/* USER CODE BEGIN 1 */
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
/* USER CODE END 1 */