fix compile with TEMPERATURE_DEBUG > 0