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

◆ operator|=() [2/2]

FASTLED_FORCE_INLINE CRGB & fl::CRGB::operator|= ( u8 d)
inline

"or" operator brings each channel up to the higher of the two values

Definition at line 325 of file crgb.h.

326 {
327 if( d > r) r = d;
328 if( d > g) g = d;
329 if( d > b) b = d;
330 return *this;
331 }

References CRGB(), FASTLED_FORCE_INLINE, and FL_NOEXCEPT.

+ Here is the call graph for this function: