From a7f7959f9120a059c0a4f739eb7e3cd290c33c67 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Sat, 24 Dec 2022 12:21:23 +0100 Subject: [PATCH] typo --- src/web/WebLogService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/WebLogService.cpp b/src/web/WebLogService.cpp index 39c34df27..e76351cfb 100644 --- a/src/web/WebLogService.cpp +++ b/src/web/WebLogService.cpp @@ -120,7 +120,7 @@ WebLogService::QueuedLogMessage::QueuedLogMessage(unsigned long id, std::shared_ void WebLogService::operator<<(std::shared_ptr message) { #ifndef EMSESP_STANDALONE size_t maxAlloc = ESP.getMaxAllocHeap(); - if (limit_log_messages_ > 5 && maxAlloc < 446080) { + if (limit_log_messages_ > 5 && maxAlloc < 46080) { --limit_log_messages_; } else if (limit_log_messages_ < maximum_log_messages_ && maxAlloc > 51200) { ++limit_log_messages_;