mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 23:44:31 +00:00
divide ticks in OneShot
This commit is contained in:
parent
af3193d782
commit
9eaefb6d6c
@ -293,7 +293,7 @@ namespace APIC
|
||||
timer.Vector = Vector;
|
||||
timer.TimerMode = 0;
|
||||
this->lapic->Write(APIC_TDCR, 0x0);
|
||||
this->lapic->Write(APIC_TICR, Ticks * Miliseconds);
|
||||
this->lapic->Write(APIC_TICR, (Ticks / 10) * Miliseconds);
|
||||
this->lapic->Write(APIC_TIMER, timer.raw);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user