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

◆ ~Transaction()

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

Destructor - automatically waits for completion.

Note
Ensures transaction completes before destruction

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

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

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

+ Here is the call graph for this function: