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

Method nextFx

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

Source from the content-addressed store, hash-verified

45}
46
47bool FxEngine::nextFx(u16 duration) {
48 bool ok = mEffects.next(mCurrId, &mCurrId, true);
49 if (!ok) {
50 return false;
51 }
52 setNextFx(mCurrId, duration);
53 return true;
54}
55
56bool FxEngine::setNextFx(int index, u16 duration) {
57 if (!mEffects.has(index)) {

Callers 2

FL_TEST_FILEFunction · 0.80
loopFunction · 0.80

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected