corrected constant to match documentation

This commit is contained in:
Elfein Landers 2022-08-06 20:59:31 -07:00
parent 1b67d8eaba
commit d3b8b2e12a

View file

@ -193,7 +193,7 @@ pub fn init_idt() {
/// https://wiki.osdev.org/Pit /// 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) { pub fn set_pit_frequency(pit: u16, freq: u32) {
// Dividing the maximum frequency by the desired frequency // Dividing the maximum frequency by the desired frequency