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

Function verifyStartFrame

tests/fl/chipsets/encoders/hd108.hpp:39–44  ·  view source on GitHub ↗

Helper to verify start frame (8 bytes of 0x00)

Source from the content-addressed store, hash-verified

37
38/// Helper to verify start frame (8 bytes of 0x00)
39static void verifyStartFrame(const fl::vector<u8>& data) {
40 FL_REQUIRE(data.size() >= 8);
41 for (int i = 0; i < 8; i++) {
42 FL_CHECK_EQ(data[i], 0x00);
43 }
44}
45
46/// Helper to verify end frame (all bytes should be 0xFF)
47static void verifyEndFrame(const fl::vector<u8>& data, size_t expected_size) {

Callers 1

hd108.hppFile · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected