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

Method getNumLEDs

src/fl/control/wled/adapter.cpp.hpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34size_t FastLEDAdapter::getNumLEDs() const {
35 if (mHasSegment) {
36 return mSegmentEnd - mSegmentStart;
37 }
38
39 CLEDController& controller = FastLED[mControllerIndex];
40 return controller.size();
41}
42
43void FastLEDAdapter::show() {
44 FastLED.show();

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected