This change clamps tValue between [min, max]. For example, given value=2, min=5, max=10, step=1 and increment is called, without this change value will be incremented to 3 (still outside [min, max]), with this change value will be incremented to 5, pulling it into the valid range.
This is retained for future use. This function check two temperatures, whereas above function checkInletTemperature only check one temperature D1 or P10.