basic support for firmware metadata (upstream 0.15 backport)

This commit is contained in:
Frank
2026-03-10 17:42:18 +01:00
parent 427dc96239
commit a906432feb
7 changed files with 73 additions and 10 deletions

View File

@@ -469,7 +469,7 @@ void prepareArtnetPollReply(ArtPollReply *reply) {
reply->reply_port = ARTNET_DEFAULT_PORT;
char * numberEnd = versionString;
char * numberEnd = (char*) versionString; // strtol promises not to try to edit this.
reply->reply_version_h = (uint8_t)strtol(numberEnd, &numberEnd, 10);
numberEnd++;
reply->reply_version_l = (uint8_t)strtol(numberEnd, &numberEnd, 10);