fix(check): change bool expression for check condition

This commit is contained in:
doryan 2025-04-25 23:11:33 +04:00
parent 698851cbfd
commit 46837a68e4

View File

@ -196,7 +196,7 @@ where
delay_cycles(READING_ADJUST); delay_cycles(READING_ADJUST);
delay_us(SECOND_HALF_SERIAL_DELAY); 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)); return Err((data, reciever_parity_bit));
} }