From 2f1941697d319e56d896a521f3a00203185c400a Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Sat, 6 Jan 2024 18:43:42 +0100 Subject: [PATCH] increase threshold for filament runout Increase the threshold from 5 to 20 to reduce the chance of false positive triggers. --- Marlin/Configuration.h | 3 +++ 1 file changed, 3 insertions(+) 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.