Skip to content

Commit

Permalink
get M81 working
Browse files Browse the repository at this point in the history
  • Loading branch information
triffid committed Jan 24, 2012
1 parent 2ae2ead commit 3e57553
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Marlin/Marlin.pde
Expand Up @@ -909,7 +909,7 @@ FORCE_INLINE void process_commands()
LCD_MESSAGEPGM("Bed done.");
previous_millis_cmd = millis();
#endif
break;
break;

#if FAN_PIN > -1
case 106: //M106 Fan On
Expand Down Expand Up @@ -938,14 +938,13 @@ FORCE_INLINE void process_commands()

case 81: // M81 - ATX Power Off

#if (SUICIDE_PIN >-1)
#if defined SUICIDE_PIN && SUICIDE_PIN > -1
st_synchronize();
suicide();
#else
#if (PS_ON_PIN > -1)
SET_INPUT(PS_ON_PIN); //Floating
#endif
#elif (PS_ON_PIN > -1)
SET_INPUT(PS_ON_PIN); //Floating
#endif
break;

case 82:
axis_relative_modes[3] = false;
Expand Down

0 comments on commit 3e57553

Please sign in to comment.