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:
e02af3e
)
add M17, so the enable stepper button works in repg.
author
Bernhard Kubicek
<kubicek@gmx.at>
Sat, 19 Nov 2011 17:22:22 +0000
(18:22 +0100)
committer
Bernhard Kubicek
<kubicek@gmx.at>
Sat, 19 Nov 2011 17:22:22 +0000
(18:22 +0100)
Marlin/Marlin.pde
patch
|
blob
|
history
diff --git
a/Marlin/Marlin.pde
b/Marlin/Marlin.pde
index f619854da3625a04efdb20ca2fca09dca25514e5..021a921f7a9ec0cc3ee7adf76a8e435518dbf6d8 100644
(file)
--- a/
Marlin/Marlin.pde
+++ b/
Marlin/Marlin.pde
@@
-70,6
+70,8
@@
// M114 - Display current position
//Custom M Codes
+// M17 - Enable/Power all stepper motors
+// M18 - Disaable all stepper motors; same as M84
// M20 - List SD card
// M21 - Init SD card
// M22 - Release SD card
@@
-569,6
+571,13
@@
inline void process_commands()
switch( (int)code_value() )
{
+ case 17:
+ LCD_MESSAGEPGM("No move.");
+ enable_x();
+ enable_y();
+ enable_z();
+ enable_e();
+ break;
#ifdef SDSUPPORT
case 20: // M20 - list SD card