Minor change

This commit is contained in:
2025-04-15 11:25:03 +02:00
parent 0c2bba8c33
commit c5193dd188
+1 -1
View File
@@ -89,7 +89,7 @@ void isr_sendEOI(uint8_t irq) {
int isr_handleInterrupt(struct isr_intFrame iframe) {
if (iframe.interrupt < 32) {
// ISRs 0-31 - Exceptions
panic(exceptions[iframe.interrupt]);
panic(exceptions[iframe.error]);
} else if (iframe.interrupt >= 32 && iframe.interrupt < 48) {
// ISRs 32-47 - Hardware interrupts
uint8_t irq = iframe.interrupt - 32;