diff --git a/wled00/e131.cpp b/wled00/e131.cpp index 0d53529450..26b25d20b7 100644 --- a/wled00/e131.cpp +++ b/wled00/e131.cpp @@ -93,10 +93,10 @@ void handleE131Packet(e131_packet_t* p, IPAddress clientIP, byte protocol){ return; } - #ifdef WLED_ENABLE_DMX // DMX data in Art-Net packet starts at index 0, for E1.31 at index 1 uint8_t artnetOffset = (protocol == P_ARTNET) ? -1 : 0; + #ifdef WLED_ENABLE_DMX // does not act on out-of-order packets yet if (e131ProxyUniverse > 0 && uni == e131ProxyUniverse) { for (uint16_t i = 1+artnetOffset; i <= dmxChannels+artnetOffset; i++)