Reduce code in gcode_M81 (PR#2497)

master
Scott Lahteine 9 years ago committed by Richard Wackerbarth
parent c66955aaf9
commit 469843427d

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

Loading…
Cancel
Save