FastLED 3.10.8
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 98 of file crgb.hpp.

99{
100 CRGB retval(*this);
101 --(*this);
102 return retval;
103}
FASTLED_FORCE_INLINE CRGB() FL_NO_EXCEPT
Default constructor.
Definition crgb.h:111

References CRGB(), FASTLED_FORCE_INLINE, and fl::FL_NO_EXCEPT.

+ Here is the call graph for this function: