mbed library sources
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_STM32F7/rtc_api.c
- Revision:
- 582:a89625bcd809
- Parent:
- 573:ad23fe03a082
--- a/targets/hal/TARGET_STM/TARGET_STM32F7/rtc_api.c Thu Jul 02 16:30:08 2015 +0100 +++ b/targets/hal/TARGET_STM/TARGET_STM32F7/rtc_api.c Mon Jul 06 09:00:34 2015 +0100 @@ -59,8 +59,8 @@ // Enable LSE Oscillator RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSE; - RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; /* Mandatory, otherwise the PLL is reconfigured! */ - RCC_OscInitStruct.LSEState = RCC_LSE_ON; /* External 32.768 kHz clock on OSC_IN/OSC_OUT */ + RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; // Mandatory, otherwise the PLL is reconfigured! + RCC_OscInitStruct.LSEState = RCC_LSE_ON; // External 32.768 kHz clock on OSC_IN/OSC_OUT if (HAL_RCC_OscConfig(&RCC_OscInitStruct) == HAL_OK) { // Connect LSE to RTC __HAL_RCC_RTC_CLKPRESCALER(RCC_RTCCLKSOURCE_LSE);