One more IS_SD_PRINTING
This commit is contained in:
parent
6110a54635
commit
83fe07d80a
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class FilamentRunoutSensor {
|
|||
FORCE_INLINE static void reset() { runout_count = 0; filament_ran_out = false; }
|
||||
|
||||
FORCE_INLINE static void run() {
|
||||
if ((IS_SD_PRINTING || print_job_timer.isRunning()) && check() && !filament_ran_out) {
|
||||
if ((IS_SD_PRINTING() || print_job_timer.isRunning()) && check() && !filament_ran_out) {
|
||||
filament_ran_out = true;
|
||||
enqueue_and_echo_commands_P(PSTR(FILAMENT_RUNOUT_SCRIPT));
|
||||
planner.synchronize();
|
||||
|
|
Loading…
Reference in a new issue