|
@@ -98,7 +98,11 @@ class TFilamentMonitor : public FilamentMonitorBase {
|
98
|
98
|
|
99
|
99
|
// Give the response a chance to update its counter.
|
100
|
100
|
static inline void run() {
|
101
|
|
- if (enabled && !filament_ran_out && (IS_SD_PRINTING() || print_job_timer.isRunning() || did_pause_print)) {
|
|
101
|
+ if (enabled && !filament_ran_out && (IS_SD_PRINTING() || print_job_timer.isRunning()
|
|
102
|
+ #if ENABLED(ADVANCED_PAUSE_FEATURE)
|
|
103
|
+ || did_pause_print
|
|
104
|
+ #endif
|
|
105
|
+ )) {
|
102
|
106
|
#ifdef FILAMENT_RUNOUT_DISTANCE_MM
|
103
|
107
|
cli(); // Prevent RunoutResponseDelayed::block_completed from accumulating here
|
104
|
108
|
#endif
|