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

◆ operator--() [2/2]

FASTLED_FORCE_INLINE CRGB CRGB::operator-- ( int )

Subtract a constant of '1' from each channel, saturating at 0x00.

Definition at line 104 of file crgb.hpp.

105{
106 CRGB retval(*this);
107 --(*this);
108 return retval;
109}
FASTLED_FORCE_INLINE CRGB()=default
Default constructor.

References CRGB(), and FASTLED_FORCE_INLINE.

+ Here is the call graph for this function: