|
|
|
|
737
|
residencyStart = -1;
|
737
|
residencyStart = -1;
|
738
|
/* continue to loop until we have reached the target temp
|
738
|
/* continue to loop until we have reached the target temp
|
739
|
_and_ until TEMP_RESIDENCY_TIME hasn't passed since we reached it */
|
739
|
_and_ until TEMP_RESIDENCY_TIME hasn't passed since we reached it */
|
740
|
- while((target_direction ? (isHeatingHotend0()) : (isCoolingHotend0()) ||
|
|
|
|
|
740
|
+ while((target_direction ? (isHeatingHotend0()) : (isCoolingHotend0())) ||
|
741
|
(residencyStart > -1 && (millis() - residencyStart) < TEMP_RESIDENCY_TIME*1000) ) {
|
741
|
(residencyStart > -1 && (millis() - residencyStart) < TEMP_RESIDENCY_TIME*1000) ) {
|
742
|
#else
|
742
|
#else
|
743
|
while ( target_direction ? (isHeatingHotend0()) : (isCoolingHotend0()) ) {
|
743
|
while ( target_direction ? (isHeatingHotend0()) : (isCoolingHotend0()) ) {
|