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

Function controllerInList

tests/fastled_core.cpp:531–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531static bool controllerInList(CLEDController* ctrl) {
532 CLEDController* cur = CLEDController::head();
533 while (cur) {
534 if (cur == ctrl) return true;
535 cur = cur->next();
536 }
537 return false;
538}
539
540static bool controllerInList(fl::Channel* channel) {
541 return controllerInList(channel->asController());

Callers 1

FL_TEST_FILEFunction · 0.85

Calls 2

asControllerMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected