Regenerate the affected drivers
This commit is contained in:
@@ -222,10 +222,10 @@ proc ::scobj::shutters::mkDriver { sct_controller name device_class simulation_f
|
||||
|
||||
if {[string equal -nocase "${simulation_flag}" "false"]} {
|
||||
${sct_controller} poll ${scobj_hpath}/fast_shutter 1
|
||||
hsetprop ${scobj_hpath}/%s simulated false
|
||||
hsetprop ${scobj_hpath}/fast_shutter simulated false
|
||||
} else {
|
||||
::scobj::shutters::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for shutters"
|
||||
hsetprop ${scobj_hpath}/%s simulated true
|
||||
hsetprop ${scobj_hpath}/fast_shutter simulated true
|
||||
}
|
||||
|
||||
# Start of var: rough_100
|
||||
@@ -249,10 +249,10 @@ proc ::scobj::shutters::mkDriver { sct_controller name device_class simulation_f
|
||||
if {[string equal -nocase "${simulation_flag}" "false"]} {
|
||||
${sct_controller} poll ${scobj_hpath}/rough_100 1
|
||||
${sct_controller} write ${scobj_hpath}/rough_100
|
||||
hsetprop ${scobj_hpath}/%s simulated false
|
||||
hsetprop ${scobj_hpath}/rough_100 simulated false
|
||||
} else {
|
||||
::scobj::shutters::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for shutters"
|
||||
hsetprop ${scobj_hpath}/%s simulated true
|
||||
hsetprop ${scobj_hpath}/rough_100 simulated true
|
||||
}
|
||||
|
||||
# Start of var: rough_40
|
||||
@@ -276,10 +276,10 @@ proc ::scobj::shutters::mkDriver { sct_controller name device_class simulation_f
|
||||
if {[string equal -nocase "${simulation_flag}" "false"]} {
|
||||
${sct_controller} poll ${scobj_hpath}/rough_40 1
|
||||
${sct_controller} write ${scobj_hpath}/rough_40
|
||||
hsetprop ${scobj_hpath}/%s simulated false
|
||||
hsetprop ${scobj_hpath}/rough_40 simulated false
|
||||
} else {
|
||||
::scobj::shutters::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for shutters"
|
||||
hsetprop ${scobj_hpath}/%s simulated true
|
||||
hsetprop ${scobj_hpath}/rough_40 simulated true
|
||||
}
|
||||
|
||||
hsetprop ${scobj_hpath} data "true"
|
||||
|
||||
Reference in New Issue
Block a user