make netDegug work with MIC_LOGGER
adding a dummy "´flush()" method to NetDebug that does nothing
This commit is contained in:
@@ -595,6 +595,8 @@ build_flags_min =
|
||||
-D USERMOD_AUDIOREACTIVE
|
||||
-D UM_AUDIOREACTIVE_USE_NEW_FFT ; use latest (upstream) FFTLib, instead of older library modified by blazoncek. Slightly faster, more accurate, needs 2KB RAM extra
|
||||
-D USERMOD_CUSTOMEFFECTS ; WLEDMM usermod
|
||||
; -D WLED_DEBUG_HOST='"192.168.xxx.xxx"' ;; to send debug messages over network to host 192.168.x.y - FQDN is also possible
|
||||
; -D WLED_DEBUG_NET_PORT=1768 ;; port for network debugging. default = 7868
|
||||
; -D WLED_DEBUG ; lots of generic debug messages
|
||||
; -D SR_DEBUG ; some extra debug messages from audioreactive
|
||||
; -D MIC_LOGGER ; for sound input monitoring & debugging (use arduino serial plotter)
|
||||
|
||||
@@ -11,6 +11,8 @@ class NetworkDebugPrinter : public Print {
|
||||
public:
|
||||
virtual size_t write(uint8_t c);
|
||||
virtual size_t write(const uint8_t *buf, size_t s);
|
||||
virtual void flush(void) { return;} // WLEDMM adding flush() method - does nothing as we cannot use debugUdp.flush() which clears _input_ buffers
|
||||
virtual void flush( bool txOnly) { return;} // WLEDMM
|
||||
};
|
||||
|
||||
extern NetworkDebugPrinter NetDebug;
|
||||
|
||||
Reference in New Issue
Block a user