From b5afbcc3b60fa8fa283b26b9fa02d3bfe77d787b Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Wed, 17 Jun 2026 13:07:43 +0200 Subject: [PATCH] dil: do VT check while condense only after 30 seconds --- tcl/drivers/dil12.tcl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tcl/drivers/dil12.tcl b/tcl/drivers/dil12.tcl index e65388c..adaa916 100644 --- a/tcl/drivers/dil12.tcl +++ b/tcl/drivers/dil12.tcl @@ -942,9 +942,12 @@ proc dil12::autostep {phase init} { # workaround for bad G1 sensor on DIL2 set g1 $g2 } elseif {$g2 > $g1 + 300} { - clientput "ERROR: either VT is closed or the trap is blocked - please fix and start condense again" - hset [sct] off - return idle + if {[clock seconds] > [silent 0 sct condensestart] + 30} { + clientput "ERROR: either VT is closed or the trap is blocked - please fix and start condense again" + hset [sct] off + return idle + } + set g1 $cp } set g3 [result dil g3] if {$cp > $g3 + 500} {