Fixed scoping issue in thermistor class.