Commit 56cd8511 authored by Pravdomil's avatar Pravdomil

M81 turns off the laser

parent 7abefaf8
...@@ -4756,6 +4756,7 @@ inline void gcode_M81() { ...@@ -4756,6 +4756,7 @@ inline void gcode_M81() {
disable_e(); disable_e();
finishAndDisableSteppers(); finishAndDisableSteppers();
fanSpeed = 0; fanSpeed = 0;
laser_ttl_modulation = 0;
delay_ms(1000); // Wait 1 second before switching off delay_ms(1000); // Wait 1 second before switching off
#if HAS(SUICIDE) #if HAS(SUICIDE)
st_synchronize(); st_synchronize();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment