FastLED 3.9.15
Loading...
Searching...
No Matches

◆ clearData()

void CFastLED::clearData ( )

Clear out the local data array.

Definition at line 369 of file FastLED.cpp.hpp.

369 {
371 while(pCur) {
372 pCur->clearLedDataInternal();
373 pCur = pCur->next();
374 }
375}
void clearLedDataInternal(int nLeds=-1) FL_NOEXCEPT
Zero out the LED data managed by this controller.
CLEDController * next() FL_NOEXCEPT
Get the next controller in the linked list after this one.
static CLEDController * head() FL_NOEXCEPT
Get the first LED controller in the linked list of controllers.
fl::CLEDController CLEDController

References fl::CLEDController::clearLedDataInternal(), fl::CLEDController::head(), and fl::CLEDController::next().

Referenced by clear().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: