Skip to content

Commit

Permalink
minor: Fix Celsia-CZC1 typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckschwerdt committed Mar 6, 2023
1 parent 2eac3aa commit fa13eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/celsia_czc1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit fa13eb6

Please sign in to comment.