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

Function effectiveFrequency

src/ir_Pronto.hpp:198–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static uint16_t effectiveFrequency(uint16_t frequency) {
199 return frequency > 0 ? frequency : fallbackFrequency;
200}
201
202static uint16_t toTimebase(uint16_t frequency) {
203 return microsecondsInSeconds / effectiveFrequency(frequency);

Callers 2

toTimebaseFunction · 0.85
toFrequencyCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected