summaryrefslogtreecommitdiff
path: root/kc/core
diff options
context:
space:
mode:
Diffstat (limited to 'kc/core')
-rw-r--r--kc/core/pic8259.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kc/core/pic8259.c b/kc/core/pic8259.c
index 4317d0c..2c85e4d 100644
--- a/kc/core/pic8259.c
+++ b/kc/core/pic8259.c
@@ -87,7 +87,7 @@ static bool irq_is_spurious(uint8_t irq)
uint8_t isr_sec;
// all other no other IRQs are
- if (irq != 7 || irq != 15)
+ if ((irq != 7) && (irq != 15))
{
return false;
}