show free heap in console every 10 seconds (was 5)

This commit is contained in:
proddy
2020-08-16 15:43:04 +02:00
parent baae1025b7
commit 475268659f

View File

@@ -194,7 +194,7 @@ void System::loop() {
#if defined(ESP8266)
#if defined(EMSESP_DEBUG)
static uint32_t last_memcheck_ = 0;
if (currentMillis - last_memcheck_ > 5000) { // 5 seconds
if (currentMillis - last_memcheck_ > 10000) { // 10 seconds
last_memcheck_ = currentMillis;
show_mem("core");
}