|
|
@ -136,7 +136,7 @@
|
|
|
|
#include "feature/power_loss_recovery.h"
|
|
|
|
#include "feature/power_loss_recovery.h"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
|
|
|
#if HAS_FILAMENT_SENSOR
|
|
|
|
#include "feature/runout.h"
|
|
|
|
#include "feature/runout.h"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
@ -319,7 +319,7 @@ void disable_all_steppers() {
|
|
|
|
disable_e_steppers();
|
|
|
|
disable_e_steppers();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
|
|
|
#if HAS_FILAMENT_SENSOR
|
|
|
|
|
|
|
|
|
|
|
|
void event_filament_runout() {
|
|
|
|
void event_filament_runout() {
|
|
|
|
|
|
|
|
|
|
|
@ -379,7 +379,7 @@ void disable_all_steppers() {
|
|
|
|
enqueue_and_echo_commands_P(PSTR(FILAMENT_RUNOUT_SCRIPT));
|
|
|
|
enqueue_and_echo_commands_P(PSTR(FILAMENT_RUNOUT_SCRIPT));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif // FILAMENT_RUNOUT_SENSOR
|
|
|
|
#endif // HAS_FILAMENT_SENSOR
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(G29_RETRY_AND_RECOVER)
|
|
|
|
#if ENABLED(G29_RETRY_AND_RECOVER)
|
|
|
|
|
|
|
|
|
|
|
@ -426,7 +426,7 @@ void disable_all_steppers() {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void manage_inactivity(const bool ignore_stepper_queue/*=false*/) {
|
|
|
|
void manage_inactivity(const bool ignore_stepper_queue/*=false*/) {
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
|
|
|
#if HAS_FILAMENT_SENSOR
|
|
|
|
runout.run();
|
|
|
|
runout.run();
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
@ -827,7 +827,7 @@ void setup() {
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
|
|
|
#if HAS_FILAMENT_SENSOR
|
|
|
|
runout.setup();
|
|
|
|
runout.setup();
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|