Browse Source

Adding hooks into the idle loop so HALs can execute 2nd plane tasks, such as serving SD card read/writes requested from the USB MSD layer

etagle 7 years ago
parent
commit
b6f9c333d4
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/src/Marlin.cpp

+ 4
- 0
Marlin/src/Marlin.cpp View File

@@ -548,6 +548,10 @@ void idle(
548 548
       lastUpdateMillis = millis();
549 549
     }
550 550
   #endif
551
+
552
+  #ifdef HAL_IDLETASK
553
+    HAL_idletask();
554
+  #endif
551 555
 }
552 556
 
553 557
 /**

Loading…
Cancel
Save