Make currentTemp and currentStateTemp two bytes