ipsmag: emit again a warning when slaves do not match
This commit is contained in:
@ -303,7 +303,7 @@ proc ipsmag::update_leads {{n_of_slaves 3}} {
|
|||||||
set msg "slave currents ($currents) are not within $mincur .. $maxcur"
|
set msg "slave currents ($currents) are not within $mincur .. $maxcur"
|
||||||
hupdate [sct objectPath]/status $msg
|
hupdate [sct objectPath]/status $msg
|
||||||
if {$status eq ""} {
|
if {$status eq ""} {
|
||||||
# clientlog "ERROR: $msg"
|
clientlog "WARNING: $msg"
|
||||||
}
|
}
|
||||||
} elseif {[string match {slave currents *} $status]} {
|
} elseif {[string match {slave currents *} $status]} {
|
||||||
hupdate [sct objectPath]/status ""
|
hupdate [sct objectPath]/status ""
|
||||||
|
Reference in New Issue
Block a user