Bug! missing ' else {' in gen_sct

This commit is contained in:
Douglas Clowes
2014-11-10 18:58:29 +11:00
parent 38dff05881
commit 2ee490b5ce

View File

@ -1314,7 +1314,7 @@ def put_checkstatus_function(MyDriver, func):
txt += [' if {[hpropexists [sct] simulated] && [sct simulated] == "true"} {']
txt += [' set pv "${sp}"']
txt += [' hupdateif ${tc_root}/[sct driveable] ${sp}']
txt += [' }']
txt += [' } else {']
txt += [' set pv "[hval ${tc_root}/[sct driveable]]"']
txt += [' }']
txt += [' if { abs(${pv} - ${sp}) <= [sct tolerance] } {']