diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 1e1cf7e4..783a1bbc 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -2404,6 +2404,9 @@ // NOTE: After 'M412 H1' the host handles filament runout and this script does not apply. #define FILAMENT_RUNOUT_SCRIPT "M600" + // More relaxed threshold to prevent false-positive triggers (default: 5) + #define FILAMENT_RUNOUT_THRESHOLD 20 + // After a runout is detected, continue printing this length of filament // before executing the runout script. Useful for a sensor at the end of // a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.