do no longer check for status not BUSY after target change

This commit is contained in:
2022-12-19 15:10:44 +01:00
parent 465755ff00
commit f32daa2e73

View File

@ -618,12 +618,12 @@ proc secop::update_ {} {
hsetprop $objpath status posfault hsetprop $objpath status posfault
} }
} else { } else {
if {[silent idle hgetpropval $objpath status] eq "run" && $writestatus ne "done" # if {[silent idle hgetpropval $objpath status] eq "run" && $writestatus ne "done"
&& ($value < 300 || $value >= 390)} { # && ($value < 300 || $value >= 390)} {
clientput "$objpath/target changed, but status not BUSY: $value $text_value ($writestatus)" # clientput "$objpath/target changed, but status not BUSY: $value $text_value ($writestatus)"
set value 300 # set value 300
set text_value "target changed ($text_value)" # set text_value "target changed ($text_value)"
} # }
if {$value < 300 || $value >= 390} { # not busy or finalizing if {$value < 300 || $value >= 390} { # not busy or finalizing
hsetprop $objpath status idle hsetprop $objpath status idle
} }