Update the timer to a more reasonable time slice of 50ms

This commit is contained in:
Drew Galbraith 2023-05-29 22:17:56 -07:00
parent 9869d1022a
commit 496dfeaef9
2 changed files with 4 additions and 3 deletions

View file

@ -22,7 +22,8 @@ extern "C" void zion() {
InitSyscall();
SetFrequency(/* hertz= */ 2000);
// Schedule every 50ms.
SetFrequency(/* hertz= */ 20);
sched::InitScheduler();
sched::EnableScheduler();