// if CooldownNoWait is defined M109 will not wait for the cooldown to finish
#define CooldownNoWait true
-//Do not wait for M109 to finish when printing from SD card
-//#define STOP_HEATING_WAIT_WHEN_SD_PRINTING
-
#ifdef PIDTEMP
// 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.
extern bool axis_relative_modes[];
extern float current_position[NUM_AXIS] ;
extern float add_homeing[3];
-extern bool stop_heating_wait;
// Handling multiple extruders pins
extern uint8_t active_extruder;
float current_position[NUM_AXIS] = { 0.0, 0.0, 0.0, 0.0 };
float add_homeing[3]={0,0,0};
uint8_t active_extruder = 0;
-bool stop_heating_wait=false;
//===========================================================================
//=============================private variables=============================
}
manage_heater();
LCD_STATUS;
- if(stop_heating_wait) break;
#ifdef TEMP_RESIDENCY_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 */
st_synchronize();
quickStop();
sdprinting = false;
- #ifdef STOP_HEATING_WAIT_FOR_SD_PRINTING
- stop_heating_wait=true;
- #endif
if(SD_FINISHED_STEPPERRELEASE)
{
//finishAndDisableSteppers();