diff --git a/src/asyncWebsocket/traceAsyncWebsocket.cpp b/src/asyncWebsocket/traceAsyncWebsocket.cpp index 19ffbdf..bf28173 100644 --- a/src/asyncWebsocket/traceAsyncWebsocket.cpp +++ b/src/asyncWebsocket/traceAsyncWebsocket.cpp @@ -65,7 +65,7 @@ static void print(uint8_t severity, const char * buffer, int length) if (_lines_count < MAX_TRACE_LINES) { ++_lines_count; } - ++_modified; + _modified = _modified + 1; } static void trace_loop() @@ -272,10 +272,10 @@ void trace_dump(uint8_t severity, const __FlashStringHelper * prefix, uint8_t * print(severity, buffer, idx); } -void trace_forceupdate(void) +void trace_forceupdate() { - ++_modified; // vynutime odeslani informaci + _modified = _modified + 1; // vynutime odeslani informaci } // EOF