aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony J. Bentley <anthony@anjbe.name>2017-12-06 22:02:55 -0700
committerAnthony J. Bentley <anthony@anjbe.name>2017-12-06 22:02:55 -0700
commitb6030295496d14d66636032fedb6a3b6692f48c2 (patch)
treea8572c5b77bae1b64c72bcdab841e8605db8c139
parente4f030149b07228a06c6e05a7f0b0e19399d4427 (diff)
Fix bitwise operation precedence.
-rw-r--r--src/Wifi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wifi.cpp b/src/Wifi.cpp
index 6844166..aaac0e2 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);