hosted/dap: Add parentheses around bitwise operator.

This commit is contained in:
Vegard Storheil Eriksen 2021-04-26 21:54:38 +02:00
parent f9414d5826
commit c4874fdf44
1 changed files with 1 additions and 1 deletions

View File

@ -819,5 +819,5 @@ bool dap_swdptap_seq_in_parity(uint32_t *ret, int ticks)
unsigned int parity = __builtin_parity(res) & 1;
parity ^= (buf[5] % 1);
DEBUG_WARN("Res %08" PRIx32" %d\n", *ret, parity & 1);
return (!parity & 1);
return (!(parity & 1));
}