|
@@ -138,7 +138,7 @@ int saved_feedmultiply;
|
138
|
138
|
volatile bool feedmultiplychanged=false;
|
139
|
139
|
float current_position[NUM_AXIS] = { 0.0, 0.0, 0.0, 0.0};
|
140
|
140
|
float add_homeing[3]={0,0,0};
|
141
|
|
-
|
|
141
|
+bool stop_heating_wait=false;
|
142
|
142
|
//===========================================================================
|
143
|
143
|
//=============================private variables=============================
|
144
|
144
|
//===========================================================================
|
|
@@ -825,6 +825,7 @@ FORCE_INLINE void process_commands()
|
825
|
825
|
}
|
826
|
826
|
manage_heater();
|
827
|
827
|
LCD_STATUS;
|
|
828
|
+ if(stop_heating_wait) break;
|
828
|
829
|
#ifdef TEMP_RESIDENCY_TIME
|
829
|
830
|
/* start/restart the TEMP_RESIDENCY_TIME timer whenever we reach target temp for the first time
|
830
|
831
|
or when current temp falls outside the hysteresis after target temp was reached */
|