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

◆ decode()

fl::result< u32, DecodeError > fl::RxChannel::decode ( const ChipsetTiming4Phase & timing,
fl::span< u8 > out )

Definition at line 134 of file channel.cpp.hpp.

135 {
136 if (!mDevice) {
138 }
139 return mDevice->decode(timing, out);
140}
fl::shared_ptr< RxDevice > mDevice
Definition channel.h:65
static expected failure(E err, const char *msg=nullptr) FL_NO_EXCEPT
Create error result.
Definition expected.h:115
@ INVALID_ARGUMENT
Invalid input arguments.
Definition rx.h:72

References fl::expected< T, E >::failure(), fl::FL_NO_EXCEPT, fl::INVALID_ARGUMENT, and mDevice.

+ Here is the call graph for this function: