From b6030295496d14d66636032fedb6a3b6692f48c2 Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Wed, 6 Dec 2017 22:02:55 -0700 Subject: [PATCH] Fix bitwise operation precedence. --- src/Wifi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wifi.cpp b/src/Wifi.cpp index 68441661..aaac0e24 100644 --- a/src/Wifi.cpp +++ b/src/Wifi.cpp @@ -234,7 +234,7 @@ void SetIRQ14(int source) // 0=USCOMPARE 1=BEACONCOUNT 2=forced if (BlockBeaconIRQ14 && source == 1) return; - if (!(IOPORT(W_USCompareCnt)) & 0x0001) + if (!(IOPORT(W_USCompareCnt) & 0x0001)) return; SetIRQ(14);