Skip to content

Commit

Permalink
Add 'M114 E' to get E position (M114_DETAIL) (MarlinFirmware#16026)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtreetech authored and christran206 committed Dec 30, 2019
1 parent b24f991 commit 05acc60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Marlin/src/gcode/host/M114.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ void GcodeSuite::M114() {
report_current_position_detail();
return;
}
if (parser.seen('E')) {
SERIAL_ECHOLNPAIR("Count E:", stepper.position(E_AXIS));
return;
}
#endif

planner.synchronize();
Expand Down

0 comments on commit 05acc60

Please sign in to comment.