Skip to content

Commit 7d5725a

Browse files
Fix unit test in Kelon168
1 parent c9483c5 commit 7d5725a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ir_Kelon.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ bool IRrecv::decodeKelon168(decode_results *results, uint16_t offset,
520520
kKelonBitMark, kKelon168FooterSpace,
521521
false, _tolerance, 0, false);
522522
if (!used) return false; // Failed to match.
523+
offset += used;
523524

524525
used = matchGeneric(results->rawbuf + offset,
525526
results->state + kKelon168Section1Size,

0 commit comments

Comments
 (0)