Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions wled00/wled_metadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@ bool findWledMetadata(const uint8_t* binaryData, size_t dataSize, wled_metadata_
wled_metadata_t candidate;
memcpy(&candidate, binaryData + offset, sizeof(candidate));

// Found potential match, validate version
if (candidate.desc_version > WLED_CUSTOM_DESC_VERSION) {
DEBUG_PRINTF_P(PSTR("Found WLED structure at offset %u but version mismatch: %u\n"),
offset, candidate.desc_version);
continue;
}

// Validate hash using runtime function
uint32_t expected_hash = djb2_hash_runtime(candidate.release_name);
if (candidate.hash != expected_hash) {
Expand Down