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

◆ operator=()

Spi & fl::Spi::operator= ( Spi && other)

Move assignment.

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

69 {
70 if (this != &other) {
71 device = fl::move(other.device);
72 is_ok = other.is_ok;
73 error_code = other.error_code;
74 other.is_ok = false;
75 }
76 return *this;
77}
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: