Helper: Verify start boundary (4 bytes of 0x00)
| 16 | |
| 17 | // Helper: Verify start boundary (4 bytes of 0x00) |
| 18 | static 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) |
| 27 | static void verifyEndBoundary(const vector<u8>& data, size_t num_leds, size_t start_offset) { |