get M81 working
This commit is contained in:
parent
2ae2ead97b
commit
3e575533c5
|
@ -909,7 +909,7 @@ FORCE_INLINE void process_commands()
|
||||||
LCD_MESSAGEPGM("Bed done.");
|
LCD_MESSAGEPGM("Bed done.");
|
||||||
previous_millis_cmd = millis();
|
previous_millis_cmd = millis();
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#if FAN_PIN > -1
|
#if FAN_PIN > -1
|
||||||
case 106: //M106 Fan On
|
case 106: //M106 Fan On
|
||||||
|
@ -938,14 +938,13 @@ FORCE_INLINE void process_commands()
|
||||||
|
|
||||||
case 81: // M81 - ATX Power Off
|
case 81: // M81 - ATX Power Off
|
||||||
|
|
||||||
#if (SUICIDE_PIN >-1)
|
#if defined SUICIDE_PIN && SUICIDE_PIN > -1
|
||||||
st_synchronize();
|
st_synchronize();
|
||||||
suicide();
|
suicide();
|
||||||
#else
|
#elif (PS_ON_PIN > -1)
|
||||||
#if (PS_ON_PIN > -1)
|
SET_INPUT(PS_ON_PIN); //Floating
|
||||||
SET_INPUT(PS_ON_PIN); //Floating
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
|
|
||||||
case 82:
|
case 82:
|
||||||
axis_relative_modes[3] = false;
|
axis_relative_modes[3] = false;
|
||||||
|
|
Loading…
Reference in a new issue