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

◆ update8()

uint8_t fl::TimeClampedTransition::update8 ( uint32_t 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 uint8_t out = time_alpha8(now, mStart, mEnd);
135 return out;
136 }
uint8_t time_alpha8(uint32_t now, uint32_t start, uint32_t end)
Definition time_alpha.cpp:8

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

+ Here is the call graph for this function: