From 20ccca0aecebb5624ba83cbd7c36655a9b762250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Kristan?= Date: Fri, 7 Jan 2022 17:53:07 +0100 Subject: [PATCH] Swapped grouping and spacing in UDP packet. --- wled00/udp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/udp.cpp b/wled00/udp.cpp index 85b366019..e1c0833e4 100644 --- a/wled00/udp.cpp +++ b/wled00/udp.cpp @@ -89,8 +89,8 @@ void notify(byte callMode, bool followUp) for (uint8_t i = 0; i < strip.getMaxSegments(); i++) { WS2812FX::Segment &selseg = strip.getSegment(i); udpOut[40+i*3] = selseg.options & 0x0F; //only take into account mirrored, selected, on, reversed - udpOut[41+i*3] = selseg.spacing; - udpOut[42+i*3] = selseg.grouping; + udpOut[41+i*3] = selseg.grouping; + udpOut[42+i*3] = selseg.spacing; } IPAddress broadcastIp;