Fixed Windows build

This commit is contained in:
Chris Esposito 2019-04-01 19:27:08 +11:00
parent 3c0616a46f
commit 26352bbc56
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ void uartStyleDecoder::decodeNextUartBit(bool bitValue)
{ {
if (dataBit_current == parityIndex) if (dataBit_current == parityIndex)
{ {
parityCheckFailed = not isParityCorrect(dataBit_current); parityCheckFailed = ! isParityCorrect(dataBit_current);
dataBit_current++; dataBit_current++;
} }
else if (dataBit_current < dataBit_max) else if (dataBit_current < dataBit_max)