| 588 | // ============================================================================ |
| 589 | |
| 590 | void CFastLED::wait() { |
| 591 | fl::ChannelManager& manager = fl::channelManager(); |
| 592 | // Wait for all drivers to become READY |
| 593 | // Calls async_run() and uses time-based delays to avoid busy-waiting |
| 594 | manager.waitForReady(); |
| 595 | } |
| 596 | |
| 597 | bool CFastLED::wait(fl::u32 timeout_ms) { |
| 598 | fl::ChannelManager& manager = fl::channelManager(); |