Divide one-shot by 128

This commit is contained in:
Alex 2022-10-28 04:52:00 +03:00
parent 400a715e94
commit c741c4252f
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -300,7 +300,7 @@ namespace APIC
LVTTimer timer = {.raw = 0}; LVTTimer timer = {.raw = 0};
timer.Vector = Vector; timer.Vector = Vector;
timer.TimerMode = 0; timer.TimerMode = 0;
this->lapic->Write(APIC_TDCR, DivideBy16); this->lapic->Write(APIC_TDCR, DivideBy128);
this->lapic->Write(APIC_TICR, Ticks * Miliseconds); this->lapic->Write(APIC_TICR, Ticks * Miliseconds);
this->lapic->Write(APIC_TIMER, timer.raw); this->lapic->Write(APIC_TIMER, timer.raw);
} }