From 6ef988549dddcec45f78038875af0c3a80545ac9 Mon Sep 17 00:00:00 2001 From: cschwinne Date: Fri, 13 Dec 2019 14:16:42 +0100 Subject: [PATCH] Fix compile facepalm --- wled00/wled07_notify.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wled00/wled07_notify.ino b/wled00/wled07_notify.ino index 859fc3186..22370072c 100644 --- a/wled00/wled07_notify.ino +++ b/wled00/wled07_notify.ino @@ -48,10 +48,10 @@ void notify(byte callMode, bool followUp=false) udpOut[18] = (transitionDelay >> 8) & 0xFF; udpOut[19] = effectPalette; uint32_t colTer = strip.getSegment(strip.getMainSegmentId()).colors[2]; - udpOut[20] = (t >> 16) & 0xFF; - udpOut[21] = (t >> 8) & 0xFF; - udpOut[22] = (t >> 0) & 0xFF; - udpOut[23] = (t >> 24) & 0xFF; + udpOut[20] = (colTer >> 16) & 0xFF; + udpOut[21] = (colTer >> 8) & 0xFF; + udpOut[22] = (colTer >> 0) & 0xFF; + udpOut[23] = (colTer >> 24) & 0xFF; udpOut[24] = followUp; uint32_t t = millis() + strip.timebase;