mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
typo
This commit is contained in:
@@ -120,7 +120,7 @@ WebLogService::QueuedLogMessage::QueuedLogMessage(unsigned long id, std::shared_
|
||||
void WebLogService::operator<<(std::shared_ptr<uuid::log::Message> 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_;
|
||||
|
||||
Reference in New Issue
Block a user