Skip to content

Commit

Permalink
Fix Fineoffset-WH1050 return value (closes #2600)
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckschwerdt committed Aug 15, 2023
1 parent ed794ec commit 2484b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/fineoffset_wh1050.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static int fineoffset_wh1050_decode(r_device *decoder, bitbuffer_t *bitbuffer, u
bitbuffer_extract_bytes(bitbuffer, 0, bitpos, br, 9 * 8);

if (crc8(br, 9, 0x31, 0x00)) {
return DECODE_FAIL_MIC; // crc mismatch
return 0; // DECODE_FAIL_MIC;
}

// GETTING MESSAGE TYPE
Expand Down

0 comments on commit 2484b48

Please sign in to comment.