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

◆ operator&=() [2/2]

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

"and" operator brings each channel down to the lower of the two values

Definition at line 343 of file crgb.h.

344 {
345 if( d < r) r = d;
346 if( d < g) g = d;
347 if( d < b) b = d;
348 return *this;
349 }

References CRGB(), FASTLED_FORCE_INLINE, and FL_NOEXCEPT.

+ Here is the call graph for this function: