diff --git a/Marlin/runout.h b/Marlin/runout.h index c4c88b6c15..0bfda721a3 100644 --- a/Marlin/runout.h +++ b/Marlin/runout.h @@ -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();