Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ clear
Method
clear
src/fl/channels/id_tracker.cpp.hpp:72–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
}
71
72
void IdTracker::clear() FL_NOEXCEPT {
73
// Lock for thread safety
74
mMutex.lock();
75
76
mPointerToId.clear();
77
mNextId = 0; // Reset ID counter to start at 0
78
79
mMutex.unlock();
80
}
81
82
} // namespace fl
Callers
nothing calls this directly
Calls
2
lock
Method · 0.45
unlock
Method · 0.45
Tested by
no test coverage detected