Skip to content

Commit 75403f9

Browse files
committed
STM32F3 - Fix issue with MBED_16+IAR
1 parent 66c51c9 commit 75403f9

File tree

1 file changed

+1
-0
lines changed
  • hal/targets/hal/TARGET_STM/TARGET_STM32F3

1 file changed

+1
-0
lines changed

hal/targets/hal/TARGET_STM/TARGET_STM32F3/rtc_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ void rtc_init(void)
9999
#endif
100100

101101
#if DEVICE_RTC_LSI
102+
if (rtc_inited) return;
102103
rtc_inited = 1;
103104
#endif
104105

0 commit comments

Comments
 (0)