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

◆ enable_rgbw_conversion()

void fl::detail::enable_rgbw_conversion ( )

Installs the RGBW pixel conversion used by PixelIterator.

Called from the active Rgbw constructors, so a program that never builds an active Rgbw never links the conversion code (#4795).

Definition at line 732 of file rgbw.cpp.hpp.

732 {
733#if !defined(FL_IS_AVR)
734 // AVR's PixelIterator keeps its own thunk and never reads the slot.
735 rgbw_convert_slot() = &rgbw_convert_pixel;
736#endif
737}

References fl::FL_NO_EXCEPT.

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

+ Here is the caller graph for this function: