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

Method getTotalDurationOfRawData

src/IRReceive.hpp:1953–1960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1951}
1952
1953uint32_t IRrecv::getTotalDurationOfRawData() {
1954 uint16_t tSumOfDurationTicks = 0;
1955
1956 for (IRRawlenType i = 1; i < decodedIRData.rawlen; i++) {
1957 tSumOfDurationTicks += irparams.rawbuf[i];
1958 }
1959 return (uint32_t) tSumOfDurationTicks * MICROS_PER_TICK;
1960}
1961
1962// @formatter:off
1963

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected