minor changes from https branch

This commit is contained in:
Proddy
2023-12-28 14:20:06 +01:00
parent fa1a372468
commit 3a92d69c77
9 changed files with 68 additions and 56 deletions

View File

@@ -1755,7 +1755,7 @@ void EMSdevice::mqtt_ha_entity_config_create() {
}
#ifndef EMSESP_STANDALONE
// always create minimum one config
if (ESP.getMaxAllocHeap() < (6 * 1024) || (!emsesp::EMSESP::system_.PSram() && ESP.getFreeHeap() < (65 * 1024))) {
if (ESP.getMaxAllocHeap() < (6 * 1024) || (!EMSESP::system_.PSram() && ESP.getFreeHeap() < (65 * 1024))) {
break;
}
#endif