From 7cbb3b027bf38a7ab73765a36f4c5fb7431e31de Mon Sep 17 00:00:00 2001 From: Mr_Comand <74143930+Mr-Comand@users.noreply.github.com> Date: Sun, 30 Jun 2024 23:02:08 +0200 Subject: [PATCH] r.oem_l got shifted falsely by 8 bit --- Artnet/ArtPollReply.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Artnet/ArtPollReply.h b/Artnet/ArtPollReply.h index 5ad6216..856ac61 100644 --- a/Artnet/ArtPollReply.h +++ b/Artnet/ArtPollReply.h @@ -84,7 +84,7 @@ inline Packet generatePacketFrom(const IPAddress &my_ip, const uint8_t my_mac[6] r.ver_h = (PROTOCOL_VER >> 8) & 0x00FF; r.ver_l = (PROTOCOL_VER >> 0) & 0x00FF; r.oem_h = (metadata.oem >> 8) & 0xFF; // - r.oem_l = (metadata.oem >> 8) & 0xFF; + r.oem_l = (metadata.oem >> 0) & 0xFF; r.ubea_ver = 0; // UBEA not programmed r.status_1 = metadata.status1; r.esta_man_l = (metadata.esta_man >> 8) & 0xFF;