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

Function fastled_setup_once

src/platforms/wasm/entry_point.cpp.hpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46static EndFrameListener gEndFrameListener;
47
48void fastled_setup_once() {
49 static bool setup_called = false;
50 if (setup_called) return;
51 EngineListener::Init();
52 EngineEvents::addListener(&gEndFrameListener);
53 setup();
54 setup_called = true;
55}
56
57void fastled_loop_once() {
58 fastled_setup_once();

Callers 2

fastled_loop_onceFunction · 0.85
extern_setupFunction · 0.85

Calls 2

addListenerFunction · 0.85
setupFunction · 0.50

Tested by

no test coverage detected