corrected constant to match documentation

master
Elfein Landers 2022-08-06 20:59:31 -07:00
parent a314f8ab99
commit 90aed0cdad
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ pub fn init_idt() {
/// https://wiki.osdev.org/Pit
///
const PIT_MAX_FREQ: u32 = 1193180;
const PIT_MAX_FREQ: u32 = 1193182;
pub fn set_pit_frequency(pit: u16, freq: u32) {
// Dividing the maximum frequency by the desired frequency