Remove superfluous trailing white space from TCL files
This commit is contained in:
@@ -68,7 +68,7 @@ debug_log "rdValue [sct] [sct result]"
|
||||
sct send "$cmd"
|
||||
return $nextState
|
||||
}
|
||||
|
||||
|
||||
proc rdTemp {tc_root} {
|
||||
debug_log "rdTemp [sct] [sct result]"
|
||||
set data [sct result]
|
||||
@@ -132,7 +132,7 @@ debug_log "rdValue [sct] [sct result]"
|
||||
sct send $cmd
|
||||
return $nextState
|
||||
}
|
||||
|
||||
|
||||
proc rdSpeed {tc_root} {
|
||||
debug_log "rdSpeed [sct] [sct result]"
|
||||
set data [sct result]
|
||||
@@ -547,12 +547,12 @@ debug_log "setPoint $cmd $par"
|
||||
set the_valu [lindex $parts 2]
|
||||
set the_ramp [lindex $parts 3]
|
||||
if {$the_type == "I"} {
|
||||
set the_valu [expr {round($the_valu * 20.0)}]
|
||||
set the_ramp [expr {round($the_ramp * 20.0)}]
|
||||
set the_valu [expr {round($the_valu * 20.0)}]
|
||||
set the_ramp [expr {round($the_ramp * 20.0)}]
|
||||
} elseif {$the_type == "S"} {
|
||||
} elseif {$the_type == "T"} {
|
||||
set the_valu [expr {round($the_valu * 20.0)}]
|
||||
set the_ramp [expr {round($the_ramp * 20.0 /45 * 32768)}]
|
||||
set the_valu [expr {round($the_valu * 20.0)}]
|
||||
set the_ramp [expr {round($the_ramp * 20.0 /45 * 32768)}]
|
||||
} else {
|
||||
sct geterror "Profile error: $line"
|
||||
sct print "Profile error: $line"
|
||||
|
||||
Reference in New Issue
Block a user