diff options
author | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2024-01-09 22:01:46 +0100 |
---|---|---|
committer | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2024-01-09 22:01:46 +0100 |
commit | 31a19a1f6b02fe5638c877868be1ff26b5e44abe (patch) | |
tree | 26d559f8d3912b68155b20c07d76e84d0b8f09a2 /stage3/clock.c | |
parent | 0d9286a860ff888dbb35fa6b92703496af3abecf (diff) | |
download | cuddles-31a19a1f6b02fe5638c877868be1ff26b5e44abe.tar.xz |
fix warning in clock.c
Diffstat (limited to 'stage3/clock.c')
-rw-r--r-- | stage3/clock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stage3/clock.c b/stage3/clock.c index e2b9064..a1672f1 100644 --- a/stage3/clock.c +++ b/stage3/clock.c @@ -2,7 +2,6 @@ #include "pic.h" #include "font.h" #include "io.h" -#include "thread.h" #include "heap.h" #include "halt.h" @@ -59,7 +58,7 @@ void clock_sync() u64 rtc_time = monoclock_rtc_time; if (last_sync + SYNC_INTERVAL <= rtc_time) { u64 ring_next = (ring_pos + 1) % RING; - u64 diff = rtc_time - last_sync_ring[ring_next]; + // u64 diff = rtc_time - last_sync_ring[ring_next]; last_sync = rtc_time; last_cycles = cycles; last_hd_time = monotime; |