diff --git a/cpu/lpc23xx/periph/rtc.c b/cpu/lpc23xx/periph/rtc.c index 15d3fc6b04..0820ada8b3 100644 --- a/cpu/lpc23xx/periph/rtc.c +++ b/cpu/lpc23xx/periph/rtc.c @@ -57,7 +57,7 @@ void rtc_init(void) * after cold boot or external reset. */ if ((RSIR == RSIR_POR) || (RSIR == (RSIR_POR | RSIR_EXTR))) { - struct tm localt = { .tm_year = 70 }; + struct tm localt = { .tm_year = RIOT_EPOCH - 1900 }; rtc_set_time(&localt); }