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:
8446c9d
)
adding M120 and 121 for turning on and off the endstops only for homing function
author
sefi
<atntias@gmail.com>
Sat, 28 Apr 2012 14:31:22 +0000
(17:31 +0300)
committer
sefi
<atntias@gmail.com>
Sat, 28 Apr 2012 14:31:22 +0000
(17:31 +0300)
Marlin/Marlin.pde
patch
|
blob
|
history
diff --git
a/Marlin/Marlin.pde
b/Marlin/Marlin.pde
index a7c4c11f26d907883f73cd9bd1be47a4aaf5f823..d91e355c58723cbe870317e3175a6561510b4e1e 100644
(file)
--- a/
Marlin/Marlin.pde
+++ b/
Marlin/Marlin.pde
@@
-1100,6
+1100,12
@@
void process_commands()
SERIAL_PROTOCOLLN("");
break;
+ case 120: // M120
+ enable_endstops(false) ;
+ break;
+ case 121: // M121
+ enable_endstops(true) ;
+ break;
case 119: // M119
#if (X_MIN_PIN > -1)
SERIAL_PROTOCOLPGM(MSG_X_MIN);