chiark
/
gitweb
/
~ianmdlvl
/
marlin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ae2ead
)
get M81 working
author
Michael Moon
<triffid.hunter@gmail.com>
Tue, 24 Jan 2012 03:24:41 +0000
(14:24 +1100)
committer
Michael Moon
<triffid.hunter@gmail.com>
Tue, 24 Jan 2012 03:24:41 +0000
(14:24 +1100)
Marlin/Marlin.pde
patch
|
blob
|
history
diff --git
a/Marlin/Marlin.pde
b/Marlin/Marlin.pde
index 0ffbdba80c1d3eae02424af8bb0b1ab1e8b9ff25..6f13cd3ecd5d018f3f9789f54e510e8567e1b5ac 100644
(file)
--- a/
Marlin/Marlin.pde
+++ b/
Marlin/Marlin.pde
@@
-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
@@
-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;