Browse Source

M202 is unused

Scott Lahteine 7 years ago
parent
commit
b3822b9242
2 changed files with 3 additions and 8 deletions
  1. 0
    4
      Marlin/src/Marlin.cpp
  2. 3
    4
      Marlin/src/gcode/gcode.cpp

+ 0
- 4
Marlin/src/Marlin.cpp View File

@@ -355,10 +355,6 @@ bool pin_is_protected(const int8_t pin) {
355 355
   return false;
356 356
 }
357 357
 
358
-#if 0 // Not used for Sprinter/grbl gen6
359
-  #include "gcode/config/M202.h"
360
-#endif
361
-
362 358
 #include "gcode/config/M203.h"
363 359
 #include "gcode/config/M204.h"
364 360
 #include "gcode/config/M205.h"

+ 3
- 4
Marlin/src/gcode/gcode.cpp View File

@@ -532,11 +532,10 @@ void GcodeSuite::process_next_command() {
532 532
 
533 533
       case 201: M201(); break;  // M201: Set max acceleration for print moves (units/s^2)
534 534
 
535
-      #if 0 // Not used for Sprinter/grbl gen6
536
-        case 202: // M202
537
-          gcode_M202();
538
-          break;
535
+      #if 0
536
+        case 202: M202(); break; // Not used for Sprinter/grbl gen6
539 537
       #endif
538
+
540 539
       case 203: // M203: Set max feedrate (units/sec)
541 540
         gcode_M203();
542 541
         break;

Loading…
Cancel
Save