chiark / gitweb /
remove stop_heating_wait
authorErik van der Zalm <erik@vdzalm.eu>
Mon, 27 Feb 2012 17:45:45 +0000 (18:45 +0100)
committerErik van der Zalm <erik@vdzalm.eu>
Mon, 27 Feb 2012 17:45:45 +0000 (18:45 +0100)
Marlin/Configuration_adv.h
Marlin/Marlin.h
Marlin/Marlin.pde
Marlin/cardreader.cpp

index 2df655061dcfeecd087206f92d251692472e6cc4..38e940950ff33a8c55bb9925636aaf87c91aa5b7 100644 (file)
@@ -25,9 +25,6 @@
 // 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.
index ffa3839a7273b0f7efb38b03b86004994830ac0d..e01d98ad500bae99d943108c91fc208f8ad99ddd 100644 (file)
@@ -175,7 +175,6 @@ extern float homing_feedrate[];
 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;
index 0ff3464b5e991583975cccfdc97dea995c5b3908..d80d7f15be2d11026b73da6cb8f64827a52bbb63 100644 (file)
@@ -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 add_homeing[3]={0,0,0};
 uint8_t active_extruder = 0;
-bool stop_heating_wait=false;
 
 //===========================================================================
 //=============================private variables=============================
@@ -886,7 +885,6 @@ void process_commands()
           }
           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 */
index ecf0c47121185356f29941caa01eeaa11bf17240..052ce2030226952a076395bcdb5621535ba39fd0 100644 (file)
@@ -447,9 +447,6 @@ void CardReader::printingHasFinished()
  st_synchronize();
  quickStop();
  sdprinting = false;
- #ifdef STOP_HEATING_WAIT_FOR_SD_PRINTING
- stop_heating_wait=true;
- #endif
  if(SD_FINISHED_STEPPERRELEASE)
  {
    //finishAndDisableSteppers();