|
|
@ -1128,10 +1128,9 @@ void setup() {
|
|
|
|
* - Call inactivity manager
|
|
|
|
* - Call inactivity manager
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void loop() {
|
|
|
|
void loop() {
|
|
|
|
|
|
|
|
do {
|
|
|
|
|
|
|
|
|
|
|
|
for (;;) {
|
|
|
|
idle();
|
|
|
|
|
|
|
|
|
|
|
|
idle(); // Do an idle first so boot is slightly faster
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(SDSUPPORT)
|
|
|
|
#if ENABLED(SDSUPPORT)
|
|
|
|
card.checkautostart();
|
|
|
|
card.checkautostart();
|
|
|
@ -1141,5 +1140,10 @@ void loop() {
|
|
|
|
queue.advance();
|
|
|
|
queue.advance();
|
|
|
|
|
|
|
|
|
|
|
|
endstops.event_handler();
|
|
|
|
endstops.event_handler();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} while (false // Return to caller for best compatibility
|
|
|
|
|
|
|
|
#ifdef __AVR__
|
|
|
|
|
|
|
|
|| true // Loop forever on slower (AVR) boards
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|