Modify west4100 configuration to load the driver if it has been

selected in a sics_config.ini file.
This commit is contained in:
Ferdi Franceschini
2013-10-27 20:48:07 +11:00
parent 296ddc9331
commit 4812644b66

View File

@@ -48,3 +48,9 @@ proc ::environment::temperature::add_west400 {IP} {
#::environment::mkenvinfo tc1 {heateron {priv user} range {priv manager} }
}
if { [ info exists ::config_dict ] } {
if { [ dict get $::config_dict west4100 enabled ] } {
set IP [dict get $::config_dict west4100 ip]
::environment::temperature::add_west400 $IP
}
}