summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-02-19 02:07:11 +0000
committerAda Christine <adachristine18@gmail.com>2022-02-19 02:07:11 +0000
commit9ceff56669112f5cad6d7538ba358f6c1c72b1cf (patch)
tree520b7f5bade62b6996511ac31860bf731ff7203f
parent321c216b927126c6a91ecec04d9683e649653775 (diff)
used OR when i needed AND
-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;
}