| 529 | } |
| 530 | |
| 531 | static 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 | |
| 540 | static bool controllerInList(fl::Channel* channel) { |
| 541 | return controllerInList(channel->asController()); |
no test coverage detected