diff options
Diffstat (limited to 'kernel/drivers/rtc.c')
-rw-r--r-- | kernel/drivers/rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/rtc.c b/kernel/drivers/rtc.c index 01d65f4..2da61da 100644 --- a/kernel/drivers/rtc.c +++ b/kernel/drivers/rtc.c @@ -66,6 +66,6 @@ struct rtc rtc_read(void) u32 rtc_stamp(void) { struct rtc rtc = rtc_read(); - return timer_get() + rtc.second + rtc.minute * 60 + rtc.hour * 360 + rtc.day * 360 * 24 + + return rtc.second + rtc.minute * 60 + rtc.hour * 360 + rtc.day * 360 * 24 + rtc.year * 360 * 24 * 365; } |