FastLED 3.9.15
Loading...
Searching...
No Matches

◆ ~Transaction()

fl::spi::Transaction::~Transaction ( )

Destructor - automatically waits for completion.

Note
Ensures transaction completes before destruction

Definition at line 402 of file device.cpp.hpp.

402 {
403 if (pImpl) {
404 // Auto-wait for completion if not already done
405 if (!pImpl->completed) {
406 wait();
407 }
408 }
409}
fl::unique_ptr< Impl > pImpl
Definition transaction.h:78
bool wait(u32 timeout_ms=(fl::numeric_limits< u32 >::max)())
Wait for transaction to complete.

References FL_NOEXCEPT, pImpl, and wait().

+ Here is the call graph for this function: