Skip to content

Commit

Permalink
Fix KlikAanKlikUit-Switch for DIO remotes (merbanan#2789)
Browse files Browse the repository at this point in the history
Remove first byte id check
  • Loading branch information
apaneiro authored Jan 24, 2024
1 parent fe43962 commit 43c5aa5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/devices/newkaku.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ static int newkaku_callback(r_device *decoder, bitbuffer_t *bitbuffer)
{
uint8_t *b = bitbuffer->bb[0];

if (b[0] != 0x65 && b[0] != 0x59) // always starts with 0110 0101 or 0101 1001
return DECODE_ABORT_EARLY;

/* Reject missing sync */
if (bitbuffer->syncs_before_row[0] != 1)
return DECODE_ABORT_EARLY;
Expand Down

0 comments on commit 43c5aa5

Please sign in to comment.