mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
cpu/lpc2387: enable RTC on init
All other CPU implementations have the RTC running after rtc_init() was called. Fix this for lpc2387.
This commit is contained in:
parent
c1ea3c2eb6
commit
985fb53c9f
@ -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