🐛 Prevent stepper sleep during long UBL idle (#22137)

This commit is contained in:
Scott Lahteine
2021-06-14 18:44:27 -05:00
committed by GitHub
parent 6bdd0fcda1
commit 6b3dc80b55
3 changed files with 10 additions and 11 deletions

View File

@@ -34,8 +34,8 @@
void stop();
// Pass true to keep steppers from timing out
void idle(TERN_(ADVANCED_PAUSE_FEATURE, bool no_stepper_sleep=false));
inline void idle_no_sleep() { idle(TERN_(ADVANCED_PAUSE_FEATURE, true)); }
void idle(bool no_stepper_sleep=false);
inline void idle_no_sleep() { idle(true); }
#if ENABLED(G38_PROBE_TARGET)
extern uint8_t G38_move; // Flag to tell the ISR that G38 is in progress, and the type