Enable PIT ISR to count milliseconds

This commit is contained in:
josh committed 2023-10-25 12:02:44 -04:00
1 parent e357f2ba44
commit e480bd0ed0
4 files changed
+18 -5

No files matched your search

-2
View File
@@ -79,11 +79,9 @@ struct Rtc
public static void isr()
{
static __gshared ulong count;
static __gshared ulong seconds;
count++;
if ((count % 1024) == 0u)
{
seconds++;
Console.update_header();
}
eoi();