Update tempsensor.cpp