Regenerate the affected drivers
This commit is contained in:
@@ -437,10 +437,10 @@ proc ::scobj::pfeiffer_hg::mkDriver { sct_controller name device_class simulatio
|
||||
|
||||
if {[string equal -nocase "${simulation_flag}" "false"]} {
|
||||
${sct_controller} poll ${scobj_hpath}/pressure/sensor 1
|
||||
hsetprop ${scobj_hpath}/%s simulated false
|
||||
hsetprop ${scobj_hpath}/pressure/sensor simulated false
|
||||
} else {
|
||||
::scobj::pfeiffer_hg::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for pfeiffer_hg"
|
||||
hsetprop ${scobj_hpath}/%s simulated true
|
||||
hsetprop ${scobj_hpath}/pressure/sensor simulated true
|
||||
}
|
||||
|
||||
# Start of var: setpoint
|
||||
@@ -471,10 +471,10 @@ proc ::scobj::pfeiffer_hg::mkDriver { sct_controller name device_class simulatio
|
||||
|
||||
if {[string equal -nocase "${simulation_flag}" "false"]} {
|
||||
${sct_controller} write ${scobj_hpath}/pressure/setpoint
|
||||
hsetprop ${scobj_hpath}/%s simulated false
|
||||
hsetprop ${scobj_hpath}/pressure/setpoint simulated false
|
||||
} else {
|
||||
::scobj::pfeiffer_hg::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for pfeiffer_hg"
|
||||
hsetprop ${scobj_hpath}/%s simulated true
|
||||
hsetprop ${scobj_hpath}/pressure/setpoint simulated true
|
||||
}
|
||||
hsetprop ${scobj_hpath}/pressure data "true"
|
||||
hsetprop ${scobj_hpath}/pressure klass "@none"
|
||||
|
||||
Reference in New Issue
Block a user