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

Method remove

src/FastLED.cpp.hpp:151–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void CFastLED::remove(fl::ChannelPtr channel) {
152 if (!channel) {
153 return;
154 }
155 // Note: removeFromDrawList() now fires onChannelRemoved event
156 channel->removeFromDrawList();
157 // Remove from internal storage (safe if not found - erase is a no-op)
158 channels().erase(channel);
159}
160
161void CFastLED::clear(ClearFlags flags) {
162 // Lambda to check if flag is set, clear it, and return true if it was set

Callers 15

parse_argsFunction · 0.45
_scandir_syncFunction · 0.45
mainFunction · 0.45
_process_active_testsMethod · 0.45
unregisterMethod · 0.45
_handle_stuck_processesFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45

Calls 2

removeFromDrawListMethod · 0.45
eraseMethod · 0.45

Tested by 2

_handle_stuck_processesFunction · 0.36