1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 14:03:55 +01:00

Merge pull request #12580 from benpicco/lpc2387-fix_rtc

cpu/lpc2387: enable RTC on rtc_init()
This commit is contained in:
Leandro Lanzieri 2019-10-28 10:40:37 +01:00 committed by GitHub
commit 073090b01e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,8 @@ void rtc_init(void)
_rtc_set(0);
}
rtc_poweron();
DEBUG("%2lu.%2lu.%4lu %2lu:%2lu:%2lu\n",
RTC_DOM, RTC_MONTH, RTC_YEAR, RTC_HOUR, RTC_MIN, RTC_SEC);
}