Browse Source

Reduce code in gcode_M81 (PR#2497)

pull/1/head
Scott Lahteine 9 years ago
committed by Richard Wackerbarth
parent
commit
469843427d
  1. 5
      Marlin/Marlin_main.cpp

5
Marlin/Marlin_main.cpp

@ -3687,11 +3687,6 @@ inline void gcode_M140() {
*/
inline void gcode_M81() {
disable_all_heaters();
st_synchronize();
disable_e0();
disable_e1();
disable_e2();
disable_e3();
finishAndDisableSteppers();
fanSpeed = 0;
delay(1000); // Wait 1 second before switching off

Loading…
Cancel
Save