FastLED 3.10.8
Loading...
Searching...
No Matches

◆ rejectFixedWhiteChannelChange()

bool fl::CLEDController::rejectFixedWhiteChannelChange ( const char * operation) const
inlineprotected

Definition at line 105 of file cled_controller.h.

105 {
106 FL_UNUSED(operation); // only consumed by FL_WARN, a no-op on small platforms
107 if (!mFixedWhiteChannel) {
108 return false;
109 }
110 FL_WARN("Chipset has fixed R,G,B,W output; " << operation << " is unsupported and was ignored");
111 return true;
112 }
bool mFixedWhiteChannel
chipset wire format owns the white policy
#define FL_WARN(...)
Definition log.h:437
#define FL_UNUSED(x)

References fl::FL_NO_EXCEPT, FL_UNUSED, FL_WARN, and mFixedWhiteChannel.

Referenced by clearWhiteChannel(), setRgbw(), and setRgbww().

+ Here is the caller graph for this function: