|
@@ -3960,8 +3960,8 @@ inline void gcode_M109() {
|
3960
|
3960
|
// Loop until the temperature has stabilized
|
3961
|
3961
|
#define TEMP_CONDITIONS (residency_start_ms < 0 || now < residency_start_ms + TEMP_RESIDENCY_TIME * 1000UL)
|
3962
|
3962
|
#else
|
3963
|
|
- // Loop until the temperature is exactly on target
|
3964
|
|
- #define TEMP_CONDITIONS (degHotend(target_extruder) != degTargetHotend(target_extruder))
|
|
3963
|
+ // Loop until the temperature is very close target
|
|
3964
|
+ #define TEMP_CONDITIONS (fabs(degHotend(target_extruder) - degTargetHotend(target_extruder)) < 0.75f)
|
3965
|
3965
|
#endif //TEMP_RESIDENCY_TIME
|
3966
|
3966
|
|
3967
|
3967
|
cancel_heatup = false;
|
|
@@ -3984,7 +3984,7 @@ inline void gcode_M109() {
|
3984
|
3984
|
}
|
3985
|
3985
|
#else
|
3986
|
3986
|
SERIAL_EOL;
|
3987
|
|
- #endif
|
|
3987
|
+ #endif //TEMP_RESIDENCY_TIME
|
3988
|
3988
|
}
|
3989
|
3989
|
|
3990
|
3990
|
idle();
|