From d5f54c240a17eac92bc5d97d257dd1350f52e332 Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Mon, 22 Jan 2024 21:01:57 +0100 Subject: [PATCH] Debug pin fix --- wled00/xml.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/xml.cpp b/wled00/xml.cpp index de183c5a6..acb43ba1e 100755 --- a/wled00/xml.cpp +++ b/wled00/xml.cpp @@ -157,8 +157,8 @@ void appendGPIOinfo() { oappend(SET_F(",2")); // DMX hardcoded pin #endif - #ifdef WLED_DEBUG - oappend(SET_F(",")); oappend(itoa(hardwareTX,nS,10));// debug output (TX) pin + #if defined(WLED_DEBUG) && !defined(WLED_DEBUG_HOST) + oappend(SET_F(",")); oappend(itoa(hardwareTX,nS,10)); // debug output (TX) pin #endif //Note: Using pin 3 (RX) disables Adalight / Serial JSON