Add idle_no_sleep
This commit is contained in:
@@ -40,10 +40,18 @@ void stop();
|
||||
|
||||
void idle(
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
bool no_stepper_sleep = false // pass true to keep steppers from disabling on timeout
|
||||
bool no_stepper_sleep=false // Pass true to keep steppers from timing out
|
||||
#endif
|
||||
);
|
||||
|
||||
inline void idle_no_sleep() {
|
||||
idle(
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
true
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
||||
#if ENABLED(EXPERIMENTAL_I2CBUS)
|
||||
#include "feature/twibus.h"
|
||||
extern TWIBus i2c;
|
||||
|
||||
Reference in New Issue
Block a user