Ready Flag inverted

This commit is contained in:
mes 2021-04-10 13:29:26 +02:00
parent f4fbd2812c
commit e04760f38e
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ bool IBS_Sensor::readFrameStatus()
{
StatusByte = LinBus->LinMessage[0];
// Bit 0 seemed to be a kind of Data Ready Flag
StatusReady = LinBus->LinMessage[0] & 0x01;
StatusReady = ~(LinBus->LinMessage[0] & 0x01);
}
return chkSumValid;
}