MCPcopy Create free account
hub / github.com/Arduino-IRremote/Arduino-IRremote / matchMarkWithGreaterRange

Function matchMarkWithGreaterRange

src/IRReceive.hpp:1423–1429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1421}
1422
1423bool matchMarkWithGreaterRange(uint16_t aMeasuredTicks, uint16_t aMatchValueMicros) {
1424#if (MARK_EXCESS_MICROS == 0)
1425 return matchTicksWithGreaterRange(aMeasuredTicks, aMatchValueMicros);
1426#else
1427 return matchTicksWithGreaterRange(aMeasuredTicks, aMatchValueMicros, -MARK_EXCESS_MICROS); // New handling of MARK_EXCESS_MICROS without strange rounding errors
1428#endif
1429}
1430
1431bool MATCH_MARK(uint16_t measured_ticks, uint16_t desired_us) {
1432 return matchMark(measured_ticks, desired_us);

Callers 2

ir_BangOlufsen.hppFile · 0.85

Calls 1

Tested by

no test coverage detected