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

◆ update8()

u8 fl::TimeClampedTransition::update8 ( u32 now)
inlineoverridevirtual

Implements fl::TimeAlpha.

Definition at line 141 of file time_alpha.h.

141 {
142 bool not_started = (mEnd == 0) && (mStart == 0);
143 if (not_started) {
144 // if we have not started, we are not active
145 return 0;
146 }
147 u8 out = time_alpha8(now, mStart, mEnd);
148 return out;
149 }
unsigned char u8
Definition stdint.h:131
u8 time_alpha8(u32 now, u32 start, u32 end) FL_NOEXCEPT

References FL_NOEXCEPT, mEnd, mStart, and fl::time_alpha8().

+ Here is the call graph for this function: