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

Function verifyStartBoundary

tests/fl/chipsets/encoders/lpd6803.hpp:18–24  ·  view source on GitHub ↗

Helper: Verify start boundary (4 bytes of 0x00)

Source from the content-addressed store, hash-verified

16
17// Helper: Verify start boundary (4 bytes of 0x00)
18static void verifyStartBoundary(const vector<u8>& data) {
19 FL_REQUIRE(data.size() >= 4);
20 FL_CHECK(data[0] == 0x00);
21 FL_CHECK(data[1] == 0x00);
22 FL_CHECK(data[2] == 0x00);
23 FL_CHECK(data[3] == 0x00);
24}
25
26// Helper: Verify end boundary ((num_leds/32) DWords of 0xFF000000)
27static void verifyEndBoundary(const vector<u8>& data, size_t num_leds, size_t start_offset) {

Callers 1

lpd6803.hppFile · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected