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