From 2484b48211c8eebfa873bec247066c4a2be2bc53 Mon Sep 17 00:00:00 2001 From: "Christian W. Zuckschwerdt" Date: Tue, 15 Aug 2023 10:57:57 +0200 Subject: [PATCH] Fix Fineoffset-WH1050 return value (closes #2600) --- src/devices/fineoffset_wh1050.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/fineoffset_wh1050.c b/src/devices/fineoffset_wh1050.c index 0aefdf1e..0e397943 100644 --- a/src/devices/fineoffset_wh1050.c +++ b/src/devices/fineoffset_wh1050.c @@ -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