Selaa lähdekoodia

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

BigTreeTech 5 vuotta sitten
vanhempi
commit
441ee3e53f
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4
    0
      Marlin/src/gcode/host/M114.cpp

+ 4
- 0
Marlin/src/gcode/host/M114.cpp Näytä tiedosto

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

Loading…
Peruuta
Tallenna