NetDebug: switch between serial/netdebug, store ip and port in settings
pio.ini: enable WLED_DEBUG_HOST in esp32_4MB_M_debug and esp32_16MB_M_debug audio_reactive, um6050, wled.h - replace DEBUGOUT.print(x) by DEBUGOUT(x) etc wled.h: switch between serial/netdebug cfg.cpp, set.cpp, wled.cpp, xml.cpp - store netDebugPrintIP and netDebugPrintPort in cfg.json index.js: rename info tab on off to Net Debug settings.sync: add netdebug net_debug.h/cpp: use global netDebugPrintIP remove debugPrintHostIP
This commit is contained in:
@@ -589,11 +589,22 @@ void getSettingsJS(AsyncWebServerRequest* request, byte subPage, char* dest) //W
|
||||
#else
|
||||
oappend(SET_F("toggle('Hue');")); // hide Hue Sync settings
|
||||
#endif
|
||||
|
||||
//WLEDMM: add netdebug variables
|
||||
#ifdef WLED_DEBUG_HOST
|
||||
sappend('v',SET_F("N0"),netDebugPrintIP[0]);
|
||||
sappend('v',SET_F("N1"),netDebugPrintIP[1]);
|
||||
sappend('v',SET_F("N2"),netDebugPrintIP[2]);
|
||||
sappend('v',SET_F("N3"),netDebugPrintIP[3]);
|
||||
sappend('v',SET_F("NP"),netDebugPrintPort);
|
||||
#endif
|
||||
|
||||
sappend('v',SET_F("BD"),serialBaud);
|
||||
|
||||
#ifdef WLED_ENABLE_LOXONE
|
||||
oappend(SET_F("hideNoLOX();")); // WLEDMM hide "not compiled in" message
|
||||
#endif
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
if (subPage == 5)
|
||||
|
||||
Reference in New Issue
Block a user