remove stop_heating_wait
This commit is contained in:
		| @@ -25,9 +25,6 @@ | |||||||
| // if CooldownNoWait is defined M109 will not wait for the cooldown to finish | // if CooldownNoWait is defined M109 will not wait for the cooldown to finish | ||||||
| #define CooldownNoWait true | #define CooldownNoWait true | ||||||
|  |  | ||||||
| //Do not wait for M109 to finish when printing from SD card |  | ||||||
| //#define STOP_HEATING_WAIT_WHEN_SD_PRINTING |  | ||||||
|  |  | ||||||
| #ifdef PIDTEMP | #ifdef PIDTEMP | ||||||
|   // this adds an experimental additional term to the heatingpower, proportional to the extrusion speed. |   // this adds an experimental additional term to the heatingpower, proportional to the extrusion speed. | ||||||
|   // if Kc is choosen well, the additional required power due to increased melting should be compensated. |   // if Kc is choosen well, the additional required power due to increased melting should be compensated. | ||||||
|   | |||||||
| @@ -175,7 +175,6 @@ extern float homing_feedrate[]; | |||||||
| extern bool axis_relative_modes[]; | extern bool axis_relative_modes[]; | ||||||
| extern float current_position[NUM_AXIS] ; | extern float current_position[NUM_AXIS] ; | ||||||
| extern float add_homeing[3]; | extern float add_homeing[3]; | ||||||
| extern bool stop_heating_wait; |  | ||||||
|  |  | ||||||
| // Handling multiple extruders pins | // Handling multiple extruders pins | ||||||
| extern uint8_t active_extruder; | extern uint8_t active_extruder; | ||||||
|   | |||||||
| @@ -131,7 +131,6 @@ volatile int extrudemultiply=100; //100->1 200->2 | |||||||
| float current_position[NUM_AXIS] = { 0.0, 0.0, 0.0, 0.0 }; | float current_position[NUM_AXIS] = { 0.0, 0.0, 0.0, 0.0 }; | ||||||
| float add_homeing[3]={0,0,0}; | float add_homeing[3]={0,0,0}; | ||||||
| uint8_t active_extruder = 0; | uint8_t active_extruder = 0; | ||||||
| bool stop_heating_wait=false; |  | ||||||
|  |  | ||||||
| //=========================================================================== | //=========================================================================== | ||||||
| //=============================private variables============================= | //=============================private variables============================= | ||||||
| @@ -886,7 +885,6 @@ void process_commands() | |||||||
|           } |           } | ||||||
|           manage_heater(); |           manage_heater(); | ||||||
|           LCD_STATUS; |           LCD_STATUS; | ||||||
|         if(stop_heating_wait) break; |  | ||||||
|         #ifdef TEMP_RESIDENCY_TIME |         #ifdef TEMP_RESIDENCY_TIME | ||||||
|             /* start/restart the TEMP_RESIDENCY_TIME timer whenever we reach target temp for the first time |             /* start/restart the TEMP_RESIDENCY_TIME timer whenever we reach target temp for the first time | ||||||
|               or when current temp falls outside the hysteresis after target temp was reached */ |               or when current temp falls outside the hysteresis after target temp was reached */ | ||||||
|   | |||||||
| @@ -447,9 +447,6 @@ void CardReader::printingHasFinished() | |||||||
|  st_synchronize(); |  st_synchronize(); | ||||||
|  quickStop(); |  quickStop(); | ||||||
|  sdprinting = false; |  sdprinting = false; | ||||||
|  #ifdef STOP_HEATING_WAIT_FOR_SD_PRINTING |  | ||||||
|  stop_heating_wait=true; |  | ||||||
|  #endif |  | ||||||
|  if(SD_FINISHED_STEPPERRELEASE) |  if(SD_FINISHED_STEPPERRELEASE) | ||||||
|  { |  { | ||||||
|    //finishAndDisableSteppers(); |    //finishAndDisableSteppers(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user