fix(check): change bool expression for check condition
This commit is contained in:
parent
698851cbfd
commit
46837a68e4
|
@ -196,7 +196,7 @@ where
|
|||
delay_cycles(READING_ADJUST);
|
||||
delay_us(SECOND_HALF_SERIAL_DELAY);
|
||||
|
||||
if reciever_parity_bit != transmitter_parity_bit {
|
||||
if reciever_parity_bit == transmitter_parity_bit {
|
||||
return Err((data, reciever_parity_bit));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue