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

◆ Spi() [4/4]

fl::Spi::Spi ( Spi && other)

Move constructor.

Definition at line 62 of file spi.cpp.hpp.

63 : device(fl::move(other.device))
64 , is_ok(other.is_ok)
65 , error_code(other.error_code) {
66 other.is_ok = false;
67}
SPIError error_code
Definition spi.h:144
fl::unique_ptr< spi::MultiLaneDevice > device
Definition spi.h:142
bool is_ok
Definition spi.h:143
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28

References Spi(), device, error_code, FL_NOEXCEPT, is_ok, and fl::fl::move().

+ Here is the call graph for this function: