Bugfixes.

This commit is contained in:
Blaz Kristan
2022-07-19 16:16:43 +02:00
parent 6c6849d8d7
commit a46894f395
15 changed files with 2399 additions and 2320 deletions

View File

@@ -118,7 +118,6 @@ void WLED::loop()
if (stripMillis > maxStripMillis) maxStripMillis = stripMillis;
#endif
}
if (offMode) strip.purgeSegments(); // remove inactive segments from memory (no effects running)
yield();
#ifdef ESP8266
@@ -694,6 +693,7 @@ void WLED::handleConnection()
DEBUG_PRINT(F("Heap too low! "));
DEBUG_PRINTLN(heap);
forceReconnect = true;
strip.purgeSegments(); // remove inactive segments from memory
}
lastHeap = heap;
heapTime = now;