From 9ceff56669112f5cad6d7538ba358f6c1c72b1cf Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Sat, 19 Feb 2022 02:07:11 +0000 Subject: used OR when i needed AND --- kc/core/pic8259.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kc/core/pic8259.c') 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; } -- cgit v1.3.1-1-g115d