Regenerate the affected drivers

This commit is contained in:
Douglas Clowes
2014-10-22 16:03:22 +11:00
parent ff260fd737
commit d41e77cc79
20 changed files with 296 additions and 296 deletions

View File

@@ -270,10 +270,10 @@ proc ::scobj::isotech_ps::mkDriver { sct_controller name device_class simulation
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/amps 5
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/amps simulated false
} else {
::scobj::isotech_ps::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for isotech_ps"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/amps simulated true
}
# Start of var: relay
@@ -296,10 +296,10 @@ proc ::scobj::isotech_ps::mkDriver { sct_controller name device_class simulation
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/relay 5
${sct_controller} write ${scobj_hpath}/relay
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/relay simulated false
} else {
::scobj::isotech_ps::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for isotech_ps"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/relay simulated true
}
# Start of var: volts
@@ -323,10 +323,10 @@ proc ::scobj::isotech_ps::mkDriver { sct_controller name device_class simulation
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/volts 5
${sct_controller} write ${scobj_hpath}/volts
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/volts simulated false
} else {
::scobj::isotech_ps::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for isotech_ps"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/volts simulated true
}
hsetprop ${scobj_hpath} data "true"