Skip to content

Commit 381ad56

Browse files
committed
revert unintended semantic change for "minfreeheap"
1 parent 69946e4 commit 381ad56

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

wled00/json.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,9 +1133,8 @@ void serializeInfo(JsonObject root)
11331133
//WLEDMM: conditional on esp32
11341134
#if defined(ARDUINO_ARCH_ESP32)
11351135
root[F("freestack")] = uxTaskGetStackHighWaterMark(NULL); //WLEDMM
1136-
//root[F("minfreeheap")] = ESP.getMinFreeHeap();
1136+
root[F("minfreeheap")] = ESP.getMinFreeHeap();
11371137
auto maxFreeBlock = getContiguousFreeHeap();
1138-
root[F("minfreeheap")] = maxFreeBlock;
11391138
root[F("maxalloc")] = maxFreeBlock; // for upstream WLED compatibility
11401139
#endif
11411140
#if defined(ARDUINO_ARCH_ESP32)

0 commit comments

Comments
 (0)