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

Method setNextFx

src/fl/fx/fx_engine.cpp.hpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56bool FxEngine::setNextFx(int index, u16 duration) {
57 if (!mEffects.has(index)) {
58 return false;
59 }
60 mCurrId = index;
61 mDuration = duration;
62 mDurationSet = true;
63 return true;
64}
65
66FxPtr FxEngine::removeFx(int index) {
67 if (!mEffects.has(index)) {

Callers

nothing calls this directly

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected