MCPcopy Create free account
hub / github.com/SmingHub/Sming / diff

Function diff

Sming/Libraries/RCSwitch/RCSwitch.cpp:664–666  ·  view source on GitHub ↗

helper function for the various receiveProtocol methods */

Source from the content-addressed store, hash-verified

662
663/* helper function for the various receiveProtocol methods */
664static IRAM_ATTR __forceinline unsigned int diff(int A, int B) {
665 return abs(A - B);
666}
667
668/**
669 *

Callers 2

receiveProtocolMethod · 0.85
handleInterruptMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected