STM32F1 - Rename RTC_LSI

pull/2816/head
svastm 2016-09-26 16:53:56 +02:00
parent 9053d3b9ea
commit a4db938b7a
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ void rtc_init(void)
RtcHandle.Instance = RTC;
#if !DEVICE_RTC_LSI
#if !RTC_LSI
// Enable LSE Oscillator
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSE;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; // Mandatory, otherwise the PLL is reconfigured!
@ -94,7 +94,7 @@ void rtc_init(void)
void rtc_free(void)
{
#if DEVICE_RTC_LSI
#if RTC_LSI
// Enable Power clock
__PWR_CLK_ENABLE();