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

Method reset

tests/fastled_core.cpp:975–984  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

973 const IChannel* mLastChannel = nullptr;
974
975 void reset() {
976 mCreatedCount = 0;
977 mBeginDestroyCount = 0;
978 mAddedCount = 0;
979 mRemovedCount = 0;
980 mConfiguredCount = 0;
981 mEnqueuedCount = 0;
982 mLastEngineName.clear();
983 mLastChannel = nullptr;
984 }
985
986 void onCreated(const IChannel& ch) {
987 mCreatedCount++;

Callers 1

FL_TEST_FILEFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected