FastLED 3.10.6
Loading...
Searching...
No Matches

◆ clearWhiteChannel()

CLEDController & fl::CLEDController::clearWhiteChannel ( )
inline

Reset this channel to plain 3-channel RGB (clears any RGBW/RGBWW configuration).

Equivalent to assigning an empty mWhiteCfg.

Definition at line 163 of file cled_controller.h.

163 {
164 if (rejectFixedWhiteChannelChange("clearWhiteChannel()")) {
165 return *this;
166 }
167 mSettings.mWhiteCfg.reset();
168 return *this;
169 }
bool rejectFixedWhiteChannelChange(const char *operation) const FL_NO_EXCEPT
ChannelOptions mSettings
Optional channel settings (correction, temperature, dither, rgbw, affinity)

References CLEDController(), fl::FL_NO_EXCEPT, mSettings, and rejectFixedWhiteChannelChange().

+ Here is the call graph for this function: