From 88f588a0c5d8180be6d11f71856f40da9c941a6f Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 23 Nov 2022 18:00:09 +0100 Subject: [PATCH] Make ARCH_TIMER_FREQ less frequent so it is more accurate (I hope) --- kernel/src/arch/x86_64/Timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/arch/x86_64/Timer.cpp b/kernel/src/arch/x86_64/Timer.cpp index c5c693f8..ef6aa72b 100644 --- a/kernel/src/arch/x86_64/Timer.cpp +++ b/kernel/src/arch/x86_64/Timer.cpp @@ -4,7 +4,7 @@ #define PIT_CHANNEL_0 0x40 const u64 base_frequency = 1193182; -const usize ARCH_TIMER_FREQ = 10; +const usize ARCH_TIMER_FREQ = 5; void Timer::arch_init() {