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

This commit is contained in:
BigTreeTech 2019-11-29 20:53:32 +08:00 committed by Scott Lahteine
parent a63491e6eb
commit 441ee3e53f

View File

@ -188,6 +188,10 @@ void GcodeSuite::M114() {
report_current_position_detail(); report_current_position_detail();
return; return;
} }
if (parser.seen('E')) {
SERIAL_ECHOLNPAIR("Count E:", stepper.position(E_AXIS));
return;
}
#endif #endif
planner.synchronize(); planner.synchronize();