remotetemp with RC200 v32.02, version as 10 byte telegram., fix #1622

This commit is contained in:
MichaelDvP
2024-02-17 18:32:29 +01:00
parent 4346de27b6
commit 38a546d6f7
5 changed files with 61 additions and 41 deletions

View File

@@ -607,7 +607,7 @@ bool Mqtt::queue_message(const uint8_t operation, const std::string & topic, con
}
// check free mem
#ifndef EMSESP_STANDALONE
if (ESP.getFreeHeap() < 60 * 1204 || ESP.getMaxAllocHeap() < 40 * 1024) {
if (ESP.getFreeHeap() < 60 * 1024 || ESP.getMaxAllocHeap() < 40 * 1024) {
if (operation == Operation::PUBLISH) {
mqtt_message_id_++;
mqtt_publish_fails_++;