dil: do VT check while condense only after 30 seconds

This commit is contained in:
2026-06-17 13:07:43 +02:00
parent c2fd279b38
commit b5afbcc3b6
+6 -3
View File
@@ -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} {