make netDegug work with MIC_LOGGER

adding a dummy "´flush()" method to NetDebug that does nothing
This commit is contained in:
Frank
2022-12-20 17:47:33 +01:00
parent c7c5b3255c
commit 3d80f503cd
2 changed files with 4 additions and 0 deletions

View File

@@ -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;