Commit 1cea25f1 authored by MagoKimbra's avatar MagoKimbra

Merge pull request #104 from Pravdomil/patch-1

M81 turns off the laser
parents f9ea62ef 56cd8511
...@@ -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