Browse Source

Cleanup case for M666

Scott Lahteine 9 years ago
parent
commit
0213f7f016
1 changed files with 5 additions and 6 deletions
  1. 5
    6
      Marlin/Marlin_main.cpp

+ 5
- 6
Marlin/Marlin_main.cpp View File

@@ -4927,14 +4927,13 @@ void process_commands() {
4927 4927
         case 665: // M665 set delta configurations L<diagonal_rod> R<delta_radius> S<segments_per_sec>
4928 4928
           gcode_M665();
4929 4929
           break;
4930
-        case 666: // M666 set delta endstop adjustment
4931
-          gcode_M666();
4932
-          break;
4933
-      #elif defined(Z_DUAL_ENDSTOPS)
4934
-        case 666: // M666 set delta endstop adjustment
4930
+      #endif
4931
+
4932
+      #if defined(DELTA) || defined(Z_DUAL_ENDSTOPS)
4933
+        case 666: // M666 set delta / dual endstop adjustment
4935 4934
           gcode_M666();
4936 4935
           break;
4937
-      #endif // DELTA
4936
+      #endif
4938 4937
 
4939 4938
       #ifdef FWRETRACT
4940 4939
         case 207: //M207 - set retract length S[positive mm] F[feedrate mm/min] Z[additional zlift/hop]

Loading…
Cancel
Save