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

◆ create() [1/2]

ChannelDataPtr fl::ChannelData::create ( const ChipsetVariant & chipset,
fl::vector_psram< u8 > && encodedData = fl::vector_psram<u8>() )
static

Create channel transmission data (modern variant-based API)

Parameters
chipsetChipset configuration (clockless or SPI)
encodedDataEncoded byte stream ready for transmission (defaults to empty)

Definition at line 12 of file data.cpp.hpp.

15 {
16 return fl::make_shared<ChannelData>(chipset, fl::move(encodedData));
17}
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
Definition shared_ptr.h:414

References FL_NOEXCEPT, fl::make_shared(), and fl::fl::move().

Referenced by fl::Channel::Channel(), fl::Channel::Channel(), and fl::Channel::Channel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: