Remove superfluous trailing white space from TCL files
This commit is contained in:
@@ -376,7 +376,7 @@ debug_log "setValue $dev:16:$cmd $par"
|
||||
hset $tc_root/status "busy"
|
||||
return idle
|
||||
}
|
||||
|
||||
|
||||
# Get the High Limit Point
|
||||
proc getLimHi {tc_root nextState cmd} {
|
||||
set d1 [hval $tc_root/Loop1/limit_hi]
|
||||
@@ -402,7 +402,7 @@ debug_log "setValue $dev:16:$cmd $par"
|
||||
hset $tc_root/Loop4/limit_hi [sct target]
|
||||
return idle
|
||||
}
|
||||
|
||||
|
||||
# Set the All Set Points
|
||||
proc setAll {tc_root nextState cmd} {
|
||||
debug_log "setAll $tc_root $nextState $cmd [sct]=[sct target] [hget [sct]]"
|
||||
@@ -413,7 +413,7 @@ debug_log "setValue $dev:16:$cmd $par"
|
||||
hset $tc_root/device_control/previous_error [expr [sct target] - [hval $tc_root/samplesensor]]
|
||||
return idle
|
||||
}
|
||||
|
||||
|
||||
proc setPoint {tc_root nextState cmd} {
|
||||
set dev "[hval $tc_root/dev_id]"
|
||||
set par [sct target]
|
||||
@@ -645,7 +645,7 @@ proc createNode {scobj_hpath sct_controller cmdGroup varName readable writable\
|
||||
hfactory $scobj_hpath/Loop2 plain spy none
|
||||
hfactory $scobj_hpath/Loop3 plain spy none
|
||||
hfactory $scobj_hpath/Loop4 plain spy none
|
||||
|
||||
|
||||
foreach {cmdGroup varName readable writable drivable dataType permission rdCmd rdFunc wrCmd wrFunc allowedValues} $deviceCommand {
|
||||
createNode $scobj_hpath $sct_controller $cmdGroup $varName $readable $writable $drivable $dataType $permission $rdCmd $rdFunc $wrCmd $wrFunc $allowedValues $klass
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user