From 82f713093e4e5e35fc9591a43e90a43e5d36a77b Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Sun, 25 Jan 2026 15:46:57 +0100 Subject: [PATCH] indentation --- wled00/src/dependencies/dmx/SparkFunDMX.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wled00/src/dependencies/dmx/SparkFunDMX.cpp b/wled00/src/dependencies/dmx/SparkFunDMX.cpp index fc20da12..d862f2b8 100644 --- a/wled00/src/dependencies/dmx/SparkFunDMX.cpp +++ b/wled00/src/dependencies/dmx/SparkFunDMX.cpp @@ -164,9 +164,9 @@ void SparkFunDMX::update() { { while (DMXSerial.available()) { - uint8_t newdata = DMXSerial.read(); - if (currentChannel <= dmxMaxChannel) - dmxData[currentChannel++] = newdata; + uint8_t newdata = DMXSerial.read(); + if (currentChannel <= dmxMaxChannel) + dmxData[currentChannel++] = newdata; } if ((currentChannel > chanSize) || (currentChannel > dmxMaxChannel)) //Set the channel counter back to 0 if we reach the known end size of our packet {