From fb30de2a4a083544be6080e139a79f400df8b39a Mon Sep 17 00:00:00 2001 From: felixstorm Date: Thu, 30 Jan 2020 10:42:39 +0100 Subject: [PATCH] Fix compile error in SdVolume.cpp for ESP32 add missing parenthesis --- Marlin/src/sd/SdVolume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/sd/SdVolume.cpp b/Marlin/src/sd/SdVolume.cpp index c51e42108ce3..70dfa52e300c 100644 --- a/Marlin/src/sd/SdVolume.cpp +++ b/Marlin/src/sd/SdVolume.cpp @@ -296,7 +296,7 @@ int32_t SdVolume::freeClusterCount() { // block for 10+ seconds. yield() is insufficient since it blocks lower prio tasks (e.g., idle). static millis_t nextTaskTime = 0; const millis_t ms = millis(); - if (ELAPSED(ms, nextTaskTime) { + if (ELAPSED(ms, nextTaskTime)) { vTaskDelay(1); // delay 1 tick (Minimum. Usually 10 or 1 ms depending on skdconfig.h) nextTaskTime = ms + 1000; // tickle the task manager again in 1 second }