From b14c8e82a00a2d4147e2f2e16fd31ac0b8c854fb Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Wed, 8 Feb 2023 10:25:59 +0100 Subject: [PATCH] Bugfix. - correct WLED_DEBUG_PORT override --- wled00/wled.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/wled00/wled.h b/wled00/wled.h index 36582d57..7e947dec 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -8,7 +8,7 @@ */ // version code in format yymmddb (b = daily build) -#define VERSION 2302050 +#define VERSION 2302080 //uncomment this if you have a "my_config.h" file you'd like to use //#define WLED_USE_MY_CONFIG @@ -726,11 +726,10 @@ WLED_GLOBAL volatile uint8_t jsonBufferLock _INIT(0); #define DEBUGOUT NetDebug WLED_GLOBAL bool netDebugEnabled _INIT(true); WLED_GLOBAL char netDebugPrintHost[33] _INIT(WLED_DEBUG_HOST); - #if defined(WLED_DEBUG_NET_PORT) - WLED_GLOBAL int netDebugPrintPort _INIT(WLED_DEBUG_PORT); - #else - WLED_GLOBAL int netDebugPrintPort _INIT(7868); + #ifndef WLED_DEBUG_PORT + #define WLED_DEBUG_PORT 7868 #endif + WLED_GLOBAL int netDebugPrintPort _INIT(WLED_DEBUG_PORT); #else #define DEBUGOUT Serial #endif