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:
@@ -7,7 +7,7 @@
|
||||
class NetworkDebugPrinter : public Print {
|
||||
private:
|
||||
WiFiUDP debugUdp; // needs to be here otherwise UDP messages get truncated upon destruction
|
||||
IPAddress debugPrintHostIP;
|
||||
// IPAddress debugPrintHostIP;
|
||||
public:
|
||||
virtual size_t write(uint8_t c);
|
||||
virtual size_t write(const uint8_t *buf, size_t s);
|
||||
|
||||
Reference in New Issue
Block a user