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

◆ ready_to_run_frame_task()

bool fl::TaskImpl::ready_to_run_frame_task ( uint32_t current_time) const

Definition at line 117 of file task.cpp.

117 {
118 // Only frame-based tasks are ready in frame context
119 FL_UNUSED(current_time);
121 return true;
122 }
123 // Non-frame tasks are not run in frame context
124 return false;
125}
TaskType mType
Definition task.h:175
@ kBeforeFrame
Definition task.h:46
@ kAfterFrame
Definition task.h:47
#define FL_UNUSED(x)
Definition unused.h:8

References FL_UNUSED, fl::kAfterFrame, fl::kBeforeFrame, and mType.