From 71418f6007e9551afbfae30a0b4fd68fbd2e124a Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 4 Apr 2024 20:00:00 +0200 Subject: [PATCH] Fix code without DMX output support --- wled00/e131.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++)