Przeglądaj źródła

Fix compile error in SdVolume on ESP32 (#16728)

felixstorm 5 lat temu
rodzic
commit
8d4dd88bf9
No account linked to committer's email address
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      Marlin/src/sd/SdVolume.cpp

+ 1
- 1
Marlin/src/sd/SdVolume.cpp Wyświetl plik

@@ -296,7 +296,7 @@ int32_t SdVolume::freeClusterCount() {
296 296
       // block for 10+ seconds. yield() is insufficient since it blocks lower prio tasks (e.g., idle).
297 297
       static millis_t nextTaskTime = 0;
298 298
       const millis_t ms = millis();
299
-      if (ELAPSED(ms, nextTaskTime) {
299
+      if (ELAPSED(ms, nextTaskTime)) {
300 300
         vTaskDelay(1);            // delay 1 tick (Minimum. Usually 10 or 1 ms depending on skdconfig.h)
301 301
         nextTaskTime = ms + 1000; // tickle the task manager again in 1 second
302 302
       }

Ładowanie…
Anuluj
Zapisz