1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 05:48:43 +00:00

Reorder M114 and M119 gcode cases

This commit is contained in:
Scott Lahteine 2016-11-07 15:52:42 -06:00
parent 644fac5d34
commit 3e0376b45e

View File

@ -8090,14 +8090,17 @@ void process_next_command() {
case 92: // M92: Set the steps-per-unit for one or more axes
gcode_M92();
break;
case 114: // M114: Report current position
gcode_M114();
break;
case 115: // M115: Report capabilities
gcode_M115();
break;
case 117: // M117: Set LCD message text, if possible
gcode_M117();
break;
case 114: // M114: Report current position
gcode_M114();
case 119: // M119: Report endstop states
gcode_M119();
break;
case 120: // M120: Enable endstops
gcode_M120();
@ -8105,9 +8108,6 @@ void process_next_command() {
case 121: // M121: Disable endstops
gcode_M121();
break;
case 119: // M119: Report endstop states
gcode_M119();
break;
#if ENABLED(HAVE_TMC2130DRIVER)
case 122: // M122: Diagnose, used to debug TMC2130