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 95 of file crgb.hpp.

96{
97 CRGB retval(*this);
98 --(*this);
99 return retval;
100}
FASTLED_FORCE_INLINE CRGB()=default
Default constructor.

References CRGB(), and FASTLED_FORCE_INLINE.

+ Here is the call graph for this function: