Reduce code in gcode_M81 (PR#2497)

This commit is contained in:
Scott Lahteine authored and Richard Wackerbarth committed 2015-07-23 08:14:00 -05:00
1 parent c66955aaf9
commit 469843427d
1 file changed
-5
-5
View File
@@ -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