MCPcopy Create free account
hub / github.com/FastLED/FastLED / clearPinEdges

Function clearPinEdges

src/platforms/stub/stub_gpio.cpp.hpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void clearPinEdges(int pin) FL_NOEXCEPT {
93 auto& buffers = edgeBufferMap();
94 auto it = buffers.find(pin);
95 if (it != buffers.end()) {
96 it->second.edges.clear();
97 it->second.armed = false;
98 }
99}
100
101size_t getEdgeCount(int pin) FL_NOEXCEPT {
102 auto& buffers = edgeBufferMap();

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected