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

◆ ClearBuffer()

static void fl::third_party::ClearBuffer ( void * buf,
int nBytes )
static

Definition at line 72 of file buffers.hpp.

73{
74 int i;
75 unsigned char *cbuf = (unsigned char *)buf;
76
77 for (i = 0; i < nBytes; i++)
78 cbuf[i] = 0;
79
80 return;
81}

References FL_NOEXCEPT.

Referenced by AllocateBuffers().

+ Here is the caller graph for this function: