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:
commit
073090b01e
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user