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

◆ rejectFixedWhiteChannelChange()

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

Definition at line 90 of file cled_controller.h.

90 {
91 FL_UNUSED(operation); // only consumed by FL_WARN, a no-op on small platforms
92 const char* chipset = fixedWhiteChannelChipset();
93 if (chipset == nullptr) {
94 return false;
95 }
96 FL_WARN("%s has fixed R,G,B,W output; %s is unsupported and was "
97 "ignored",
98 chipset, operation);
99 return true;
100 }
virtual const char * fixedWhiteChannelChipset() const FL_NO_EXCEPT
Return the name of a chipset whose wire format owns its white-channel policy.
#define FL_UNUSED(x)
#define FL_WARN(...)
Definition log.h:440

References fixedWhiteChannelChipset(), fl::FL_NO_EXCEPT, FL_UNUSED, and FL_WARN.

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

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