We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 082ba15 + 4c31be2 commit 54afd1cCopy full SHA for 54afd1c
targets/TARGET_STM/serial_api.c
@@ -354,7 +354,7 @@ void serial_baud(serial_t *obj, int baudrate)
354
if (!__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY)) {
355
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
356
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSE;
357
- RCC_OscInitStruct.HSIState = RCC_LSE_ON;
+ RCC_OscInitStruct.LSEState = RCC_LSE_ON;
358
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_OFF;
359
HAL_RCC_OscConfig(&RCC_OscInitStruct);
360
}
0 commit comments