corrected constant to match documentation
This commit is contained in:
parent
1b67d8eaba
commit
d3b8b2e12a
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue