Add network debug printer

This commit is contained in:
Shaheen Gandhi
2021-08-24 22:12:03 -07:00
parent bd13336256
commit 15055fa509
11 changed files with 946 additions and 794 deletions

View File

@@ -544,6 +544,11 @@ void getSettingsJS(byte subPage, char* dest)
oappend(SET_F(" (build "));
oappendi(VERSION);
oappend(SET_F(")\";"));
#ifdef WLED_DEBUG_NET
sappend('c',SET_F("NDE"),netDebugPrintEnabled);
sappends('s',SET_F("NDH"),netDebugPrintHost);
sappend('v',SET_F("NDP"),netDebugPrintPort);
#endif
}
#ifdef WLED_ENABLE_DMX // include only if DMX is enabled