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

◆ update()

uint32_t fl::TimeWarp::update ( uint32_t timeNow)
overridevirtual

Implements fl::TimeFunction.

Definition at line 40 of file time.cpp.

40 {
41
42 // DBG("TimeWarp::update: timeNow: " << timeNow << " mLastRealTime: " <<
43 // mLastRealTime
44 //<< " mRelativeTime: " << mRelativeTime << " mTimeScale: " << mTimeScale);
45
46 if (mLastRealTime > timeNow) {
47 DBG("TimeWarp::applyExact: mLastRealTime > timeNow: "
48 << mLastRealTime << " > " << timeNow);
49 }
50
51 applyExact(timeNow);
52 return time();
53}
uint32_t time() const override
Definition time.cpp:55
uint32_t mLastRealTime
Definition time.h:47
void applyExact(uint32_t timeNow)
Definition time.cpp:63
#define DBG
Definition time.cpp:8

References applyExact(), DBG, mLastRealTime, and time().

+ Here is the call graph for this function: