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

Function getEdgeCount

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

Source from the content-addressed store, hash-verified

99}
100
101size_t getEdgeCount(int pin) FL_NOEXCEPT {
102 auto& buffers = edgeBufferMap();
103 auto it = buffers.find(pin);
104 if (it == buffers.end()) return 0;
105 return it->second.edges.size();
106}
107
108fl::EdgeTime getEdge(int pin, size_t index) FL_NOEXCEPT {
109 auto& buffers = edgeBufferMap();

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected