FastLED 3.10.8
Loading...
Searching...
No Matches

◆ waitComplete()

bool fl::spi::MultiLaneDevice::waitComplete ( u32 timeout_ms = (fl::numeric_limits<u32>::max)())

Wait for pending transmission to complete.

Parameters
timeout_msMaximum time to wait (default: forever)
Returns
true if completed, false on timeout

Definition at line 443 of file multi_lane_device.cpp.hpp.

443 {
444 if (!isReady()) {
445 return false;
446 }
447
448 // Use polymorphic interface - no casting needed!
449 return pImpl->backend->waitComplete(timeout_ms);
450}
fl::unique_ptr< Impl > pImpl
bool isReady() const FL_NO_EXCEPT
Check if device is initialized.

References fl::FL_NO_EXCEPT, isReady(), and pImpl.

Referenced by end(), operator=(), wait(), and writeImpl().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: