1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 15:26:18 +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 case 92: // M92: Set the steps-per-unit for one or more axes
gcode_M92(); gcode_M92();
break; break;
case 114: // M114: Report current position
gcode_M114();
break;
case 115: // M115: Report capabilities case 115: // M115: Report capabilities
gcode_M115(); gcode_M115();
break; break;
case 117: // M117: Set LCD message text, if possible case 117: // M117: Set LCD message text, if possible
gcode_M117(); gcode_M117();
break; break;
case 114: // M114: Report current position case 119: // M119: Report endstop states
gcode_M114(); gcode_M119();
break; break;
case 120: // M120: Enable endstops case 120: // M120: Enable endstops
gcode_M120(); gcode_M120();
@ -8105,9 +8108,6 @@ void process_next_command() {
case 121: // M121: Disable endstops case 121: // M121: Disable endstops
gcode_M121(); gcode_M121();
break; break;
case 119: // M119: Report endstop states
gcode_M119();
break;
#if ENABLED(HAVE_TMC2130DRIVER) #if ENABLED(HAVE_TMC2130DRIVER)
case 122: // M122: Diagnose, used to debug TMC2130 case 122: // M122: Diagnose, used to debug TMC2130