Skip to content

Commit

Permalink
Set Firmware version for first Release
Browse files Browse the repository at this point in the history
  • Loading branch information
CShark committed Feb 20, 2023
1 parent 7e4220e commit 97c11f9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions DMX G441/Src/eth/artnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static void ArtNet_SendPollReply(const ip_addr_t *addr, u16_t port) {

reply->Port = UI16_BIG_ENDIAN(0x1936);

reply->VersInfo = UI16_LITTLE_ENDIAN(0);
reply->VersInfo = UI16_LITTLE_ENDIAN(1);
reply->OEM = 0xFFFF;

reply->NetSwitch = config->ArtNetNetwork;
Expand Down Expand Up @@ -233,7 +233,6 @@ static void ArtNet_HandleIpProg(ArtNet_IpProg *data, const ip_addr_t *addr, u16_
reply->ProgSubnet[3] = ip4_addr4(&artif->netmask);

reply->ProgPort = UI16_LITTLE_ENDIAN(artnet_port);

struct pbuf *p;
p = pbuf_alloc(PBUF_TRANSPORT, sizeof(reply), PBUF_POOL);
memcpy_pbuf(p, reply, sizeof(reply));
Expand Down Expand Up @@ -447,4 +446,4 @@ void ArtNet_TimeoutTick() {
ArtNet_ApplyFailover(i);
}
}
}
}

0 comments on commit 97c11f9

Please sign in to comment.