Skip to content

Commit

Permalink
Fix decodeYork() parameter names & defaults.
Browse files Browse the repository at this point in the history
Clean up some code ugliness.
Not even sure it should have compiled before.
  • Loading branch information
crankyoldgit authored Jul 24, 2024
1 parent 702ec8b commit 38cc434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IRrecv.h
Original file line number Diff line number Diff line change
Expand Up @@ -879,8 +879,8 @@ class IRrecv {
#endif // DECODE_WOWWEE
#if DECODE_YORK
bool decodeYork(decode_results *results,
uint16_t kStartOffset,
const uint16_t kYorkBits,
uint16_t offset = kStartOffset,
const uint16_t nbits = kYorkBits,
const bool strict = true);
#endif // DECODE_YORK
};
Expand Down

0 comments on commit 38cc434

Please sign in to comment.