From b2d4fcdc4c78aa90fdd29725a69641f740680750 Mon Sep 17 00:00:00 2001 From: Pablo2048 Date: Fri, 31 May 2024 07:34:55 +0200 Subject: [PATCH] Aktualizace kvuli c++20 --- src/asyncWebsocket/traceAsyncWebsocket.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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