minor: Fix Celsia-CZC1 typo

This commit is contained in:
Christian W. Zuckschwerdt
2023-03-06 17:50:30 +01:00
parent 2eac3aa19c
commit fa13eb69ce

View File

@@ -110,7 +110,7 @@ static int celsia_czc1_decode(r_device *decoder, bitbuffer_t *bitbuffer)
}
// Check if a 0x00 pair packet or a 0xf0 command packet
if (b[2] != 0x00 && b[2] == 0xf0) {
if (b[2] != 0x00 && b[2] != 0xf0) {
decoder_log(decoder, 1, __func__, "Unknown packet type");
return DECODE_FAIL_OTHER;
}