cppcheck: fix warning on mixing boolean and bitwise operations

This commit is contained in:
Philippe Teuwen
2026-02-06 22:19:28 +01:00
parent cb1f66f9f4
commit aeb28b36f2
+1 -1
View File
@@ -1961,7 +1961,7 @@ void SimulateIso14443aTagEx(uint8_t tagType, uint16_t flags, uint8_t *useruid, u
bool risky = false;
for (int i = 0; i < 4; i++) {
risky |= (orig[i] & ~receivedCmd[2 + i]);
risky |= (orig[i] & ~receivedCmd[2 + i]) != 0;
}
if (risky) {