Fix decodeYork() parameter names & defaults. (#2121)

Clean up some code ugliness.
Not even sure it should have compiled before.
This commit is contained in:
David Conran
2024-07-25 12:01:31 +10:00
committed by GitHub
parent 702ec8b356
commit aae4528cfa

View File

@@ -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
};