From 8b58c4632819d6bbdecd48d1bc31f63df2f1f71e Mon Sep 17 00:00:00 2001 From: schneider <schneider@muc.ccc.de> Date: Mon, 29 Jul 2019 20:42:47 +0000 Subject: [PATCH] fix(rtc): Add comment about magic number --- lib/card10/card10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/card10/card10.c b/lib/card10/card10.c index 519c97fe..009a69d6 100644 --- a/lib/card10/card10.c +++ b/lib/card10/card10.c @@ -69,7 +69,7 @@ void card10_init(void) NULL) == E_BUSY ) ; - + /* If we don't have a valid time yet, set it to 2019-01-01 */ if (RTC_GetSecond() < 1546300800UL) { while (RTC_Init(MXC_RTC, 1546300800UL, 0, NULL) == E_BUSY) ; -- GitLab