Browse Source

Add 'M114 E' to get E position (M114_DETAIL) (#16026)

BigTreeTech 5 years ago
parent
commit
441ee3e53f
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/src/gcode/host/M114.cpp

+ 4
- 0
Marlin/src/gcode/host/M114.cpp View File

@@ -188,6 +188,10 @@ void GcodeSuite::M114() {
188 188
       report_current_position_detail();
189 189
       return;
190 190
     }
191
+    if (parser.seen('E')) {
192
+      SERIAL_ECHOLNPAIR("Count E:", stepper.position(E_AXIS));
193
+      return;
194
+    }
191 195
   #endif
192 196
 
193 197
   planner.synchronize();

Loading…
Cancel
Save