From c867e34ed3e3be0dfc6274715548d9c625390eb0 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Thu, 30 Mar 2023 15:35:00 +0100 Subject: [PATCH] Add logger to show connect and disconnect --- wled00/dmx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/dmx.cpp b/wled00/dmx.cpp index 983ed20e..d7eddfa0 100644 --- a/wled00/dmx.cpp +++ b/wled00/dmx.cpp @@ -134,7 +134,7 @@ void handleDMXInput() { if (!packet.err) { /* If this is the first DMX data we've received, lets log it! */ if (!dmxIsConnected) { - DEBUG_PRINTLN("DMX is connected!"); + USER_PRINTLN("DMX is connected!"); dmxIsConnected = true; } @@ -153,7 +153,7 @@ void handleDMXInput() { } else if (dmxIsConnected && (now - dmxLastUpdate > 5000)) { dmxIsConnected = false; - DEBUG_PRINTLN("DMX was disconnected."); + USER_PRINTLN("DMX was disconnected."); } } #else