FastLED 3.9.15
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 447 of file multi_lane_device.cpp.hpp.

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

References 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: