Aktualizace kvuli c++20

This commit is contained in:
Pavel Brychta 2024-05-31 07:34:55 +02:00
parent b240ceca67
commit b2d4fcdc4c

View File

@ -65,7 +65,7 @@ static void print(uint8_t severity, const char * buffer, int length)
if (_lines_count < MAX_TRACE_LINES) { if (_lines_count < MAX_TRACE_LINES) {
++_lines_count; ++_lines_count;
} }
++_modified; _modified = _modified + 1;
} }
static void trace_loop() static void trace_loop()
@ -272,10 +272,10 @@ void trace_dump(uint8_t severity, const __FlashStringHelper * prefix, uint8_t *
print(severity, buffer, idx); print(severity, buffer, idx);
} }
void trace_forceupdate(void) void trace_forceupdate()
{ {
++_modified; // vynutime odeslani informaci _modified = _modified + 1; // vynutime odeslani informaci
} }
// EOF // EOF