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

Method clear

src/fl/remote/remote.cpp.hpp:236–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void Remote::clear(ClearFlags flags) {
237 if ((flags & ClearFlags::Results) != ClearFlags::None) {
238 mResults.clear();
239 FL_DBG("Cleared RPC results");
240 }
241 if ((flags & ClearFlags::Scheduled) != ClearFlags::None) {
242 mScheduler.clear();
243 FL_DBG("Cleared scheduled RPC calls");
244 }
245 if ((flags & ClearFlags::Functions) != ClearFlags::None) {
246 mRpc.clear();
247 FL_DBG("Cleared registered RPC functions");
248 }
249}
250
251// Constructor
252

Callers 2

tickMethod · 0.45
methodsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected