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.
1 parent 4fc3d07 commit 377db73Copy full SHA for 377db73
targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/api/rtc_api.c
@@ -37,7 +37,10 @@ void rtc_init(void)
37
38
void rtc_free(void)
39
{
40
- RTC_Deinit(RTC);
+#if !(defined(FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL) && FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL)
41
+ /* Gate the module clock */
42
+ CLOCK_DisableClock(kCLOCK_Rtc0);
43
+#endif /* FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL */
44
}
45
46
/*
0 commit comments