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

Method init

src/FastLED.cpp.hpp:103–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void CFastLED::init() {
104 // Call platform-specific initialization once
105 // Uses the trampoline pattern: platforms/init.h dispatches to platform-specific headers
106 // FL_RUN_ONCE ensures this is only called once, even if init() is called multiple times
107 FL_RUN_ONCE(fl::platforms::init());
108}
109
110int CFastLED::size() {
111 return (*this)[0].size();

Callers 1

FastLED.cpp.hppFile · 0.45

Calls 1

initFunction · 0.70

Tested by

no test coverage detected