summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKliment Yanev <kliment.yanev@gmail.com>2012-07-22 23:53:16 +0200
committerKliment Yanev <kliment.yanev@gmail.com>2012-07-22 23:53:16 +0200
commit0e3464eae1f0884ab11414241093c97b4cc5e1ac (patch)
tree247c39c4d94d4f307b5ca1216b936e4aaa591c22
parenteb9de32b3038a60445213bd18fce4bf33743bdf6 (diff)
Add M84 T to enable all axes
-rw-r--r--Sprinter/Sprinter.pde9
1 files changed, 8 insertions, 1 deletions
diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde
index b3373a0..9ea445b 100644
--- a/Sprinter/Sprinter.pde
+++ b/Sprinter/Sprinter.pde
@@ -1679,6 +1679,13 @@ FORCE_INLINE void process_commands()
{
stepper_inactive_time = code_value() * 1000;
}
+ else if(code_seen('T'))
+ {
+ enable_x();
+ enable_y();
+ enable_z();
+ enable_e();
+ }
else
{
disable_x();
@@ -3555,4 +3562,4 @@ void log_ulong_array(char* message, unsigned long value[], int array_lenght) {
}
Serial.println("}");
}
-#endif \ No newline at end of file
+#endif