mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
intermediate: debug via websocket
This commit is contained in:
@@ -198,6 +198,7 @@ class GwSerialLog : public GwLogWriter{
|
||||
logBuffer[wp]=0;
|
||||
}
|
||||
virtual void flush(){
|
||||
webserver.sendDebugLine(logBuffer);
|
||||
size_t handled=0;
|
||||
while (handled < wp){
|
||||
usbSerial->flush();
|
||||
|
||||
Reference in New Issue
Block a user