mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
Reduce code in gcode_M81 (PR#2497)
This commit is contained in:
parent
c66955aaf9
commit
469843427d
@ -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…
Reference in New Issue
Block a user