aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/rtc.c
diff options
context:
space:
mode:
authorMarvin Borner2021-04-27 23:01:51 +0200
committerMarvin Borner2021-04-27 23:01:51 +0200
commit51a80930a9bc25fae0728994cab1e0df3b63ef48 (patch)
treee08c4f8fdc3a73cca3a291ab901c2bcf6dac453e /kernel/drivers/rtc.c
parent977e62973abda3dd9fe5cb3462fc87d273ba63e3 (diff)
Huge compositor, timer and yielding improvements
Diffstat (limited to 'kernel/drivers/rtc.c')
-rw-r--r--kernel/drivers/rtc.c2
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;
}