MCPcopy Create free account
hub / github.com/FastLED/FastLED / isUCS7604

Function isUCS7604

examples/AutoResearch/AutoResearchTest.cpp:119–123  ·  view source on GitHub ↗

@brief Check if an encoder selector identifies a UCS7604 variant

Source from the content-addressed store, hash-verified

117
118/// @brief Check if an encoder selector identifies a UCS7604 variant
119static bool isUCS7604(fl::ClocklessEncoder encoder) {
120 return encoder == fl::ClocklessEncoder::CLOCKLESS_ENCODER_UCS7604_8BIT ||
121 encoder == fl::ClocklessEncoder::CLOCKLESS_ENCODER_UCS7604_16BIT ||
122 encoder == fl::ClocklessEncoder::CLOCKLESS_ENCODER_UCS7604_16BIT_1600;
123}
124
125/// @brief Build expected UCS7604 encoded bytes from LED data
126/// @param leds LED data span

Callers 2

runTestFunction · 0.85
runMultiTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected