mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-30 10:13:04 +05:00
refactor: define OTA upgrade flag and MQTT mutex inline
This commit is contained in:
1 parent
aa7385c70f
commit
cc6131eac9
7 files changed
+22
-27
No files matched your search
+1
-1
@@ -94,7 +94,7 @@ static Task heapTask("Heap monitoring", [](void*) {
|
||||
unsigned int maxFreeBlockHeap = memory.heap.largest_free_block;
|
||||
|
||||
/*if (freeHeap < 2048 || maxFreeBlockHeap < 2048) {
|
||||
if (!vars.states.upgrading) {
|
||||
if (!upgrading) {
|
||||
esp_system_abort("OTGateway: low internal heap");
|
||||
}
|
||||
}*/
|
||||
|
||||
Reference in new issue
Block a user