Regenerate the affected drivers
This commit is contained in:
@@ -342,10 +342,10 @@ proc ::scobj::astrium_chopper::mkDriver { sct_controller name device_class simul
|
||||
|
||||
if {[string equal -nocase "${simulation_flag}" "false"]} {
|
||||
${sct_controller} poll ${scobj_hpath}/disk_1/state 1
|
||||
hsetprop ${scobj_hpath}/%s simulated false
|
||||
hsetprop ${scobj_hpath}/disk_1/state simulated false
|
||||
} else {
|
||||
::scobj::astrium_chopper::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for astrium_chopper"
|
||||
hsetprop ${scobj_hpath}/%s simulated true
|
||||
hsetprop ${scobj_hpath}/disk_1/state simulated true
|
||||
}
|
||||
hsetprop ${scobj_hpath}/disk_1 data "true"
|
||||
hsetprop ${scobj_hpath}/disk_1 klass "@none"
|
||||
@@ -444,10 +444,10 @@ proc ::scobj::astrium_chopper::mkDriver { sct_controller name device_class simul
|
||||
|
||||
if {[string equal -nocase "${simulation_flag}" "false"]} {
|
||||
${sct_controller} poll ${scobj_hpath}/disk_2/state 1
|
||||
hsetprop ${scobj_hpath}/%s simulated false
|
||||
hsetprop ${scobj_hpath}/disk_2/state simulated false
|
||||
} else {
|
||||
::scobj::astrium_chopper::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for astrium_chopper"
|
||||
hsetprop ${scobj_hpath}/%s simulated true
|
||||
hsetprop ${scobj_hpath}/disk_2/state simulated true
|
||||
}
|
||||
hsetprop ${scobj_hpath}/disk_2 data "true"
|
||||
hsetprop ${scobj_hpath}/disk_2 klass "@none"
|
||||
@@ -546,10 +546,10 @@ proc ::scobj::astrium_chopper::mkDriver { sct_controller name device_class simul
|
||||
|
||||
if {[string equal -nocase "${simulation_flag}" "false"]} {
|
||||
${sct_controller} poll ${scobj_hpath}/disk_3/state 1
|
||||
hsetprop ${scobj_hpath}/%s simulated false
|
||||
hsetprop ${scobj_hpath}/disk_3/state simulated false
|
||||
} else {
|
||||
::scobj::astrium_chopper::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for astrium_chopper"
|
||||
hsetprop ${scobj_hpath}/%s simulated true
|
||||
hsetprop ${scobj_hpath}/disk_3/state simulated true
|
||||
}
|
||||
hsetprop ${scobj_hpath}/disk_3 data "true"
|
||||
hsetprop ${scobj_hpath}/disk_3 klass "@none"
|
||||
@@ -648,10 +648,10 @@ proc ::scobj::astrium_chopper::mkDriver { sct_controller name device_class simul
|
||||
|
||||
if {[string equal -nocase "${simulation_flag}" "false"]} {
|
||||
${sct_controller} poll ${scobj_hpath}/disk_4/state 1
|
||||
hsetprop ${scobj_hpath}/%s simulated false
|
||||
hsetprop ${scobj_hpath}/disk_4/state simulated false
|
||||
} else {
|
||||
::scobj::astrium_chopper::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for astrium_chopper"
|
||||
hsetprop ${scobj_hpath}/%s simulated true
|
||||
hsetprop ${scobj_hpath}/disk_4/state simulated true
|
||||
}
|
||||
hsetprop ${scobj_hpath}/disk_4 data "true"
|
||||
hsetprop ${scobj_hpath}/disk_4 klass "@none"
|
||||
|
||||
Reference in New Issue
Block a user