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

Method getLEDs

tests/fl/fx/mock_fastled.h:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 // IFastLED interface implementation
62
63 fl::span<CRGB> getLEDs() override {
64 if (mHasSegment) {
65 return fl::span<CRGB>(mLeds.data() + mSegmentStart, mSegmentEnd - mSegmentStart);
66 }
67 return fl::span<CRGB>(mLeds.data(), mNumLeds);
68 }
69
70 size_t getNumLEDs() const override {
71 if (mHasSegment) {

Callers 1

FL_TEST_FILEFunction · 0.45

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected