MCPcopy Create free account
hub / github.com/FastLED/FastLED / task_entry

Method task_entry

src/platforms/esp/32/coroutine_esp32.impl.hpp:171–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169//=============================================================================
170
171void TaskCoroutineESP32::task_entry(void* param) FL_NOEXCEPT {
172 auto* self = static_cast<TaskCoroutineESP32*>(param);
173 if (self->mFunction) {
174 self->mFunction();
175 }
176 self->mCompleted.store(true);
177 // Block forever — task will be deleted by the destructor or stop()
178 while (true) {
179 vTaskDelay(portMAX_DELAY);
180 }
181}
182
183//=============================================================================
184// TaskCoroutineESP32 Implementation

Callers

nothing calls this directly

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected