Skip to content

Commit

Permalink
Update fineoffset_ws90.c to longer length
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Johnson committed Oct 1, 2024
1 parent e25cfc0 commit 1023146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/fineoffset_ws90.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static int fineoffset_ws90_decode(r_device *decoder, bitbuffer_t *bitbuffer)
uint8_t b[32];

// Validate package, WS90 nominal size is 345 bit periods
if (bitbuffer->bits_per_row[0] < 168 || bitbuffer->bits_per_row[0] > 400) {
if (bitbuffer->bits_per_row[0] < 168 || bitbuffer->bits_per_row[0] > 500) {
decoder_logf_bitbuffer(decoder, 2, __func__, bitbuffer, "abort length" );
return DECODE_ABORT_LENGTH;
}
Expand Down

0 comments on commit 1023146

Please sign in to comment.