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

◆ update8()

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

Implements fl::TimeAlpha.

Definition at line 128 of file time_alpha.h.

128 {
129 bool not_started = (mEnd == 0) && (mStart == 0);
130 if (not_started) {
131 // if we have not started, we are not active
132 return 0;
133 }
134 u8 out = time_alpha8(now, mStart, mEnd);
135 return out;
136 }
unsigned char u8
Definition int.h:17
u8 time_alpha8(u32 now, u32 start, u32 end)
Definition time_alpha.cpp:8

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

+ Here is the call graph for this function: