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

@@ -170,10 +170,10 @@ proc ::scobj::mercury_level::mkDriver { sct_controller name device_class simulat
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/Level/Helium 15
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/Level/Helium simulated false
} else {
::scobj::mercury_level::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for mercury_level"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/Level/Helium simulated true
}
# Start of var: Nitrogen
@@ -194,10 +194,10 @@ proc ::scobj::mercury_level::mkDriver { sct_controller name device_class simulat
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/Level/Nitrogen 15
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/Level/Nitrogen simulated false
} else {
::scobj::mercury_level::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for mercury_level"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/Level/Nitrogen simulated true
}
hsetprop ${scobj_hpath}/Level data "true"
hsetprop ${scobj_hpath}/Level klass "@none"