dil: do VT check while condense only after 30 seconds
This commit is contained in:
@@ -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} {
|
||||
|
||||
Reference in New Issue
Block a user