1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Tweak M114 detail

This commit is contained in:
Scott Lahteine 2017-12-10 19:12:00 -06:00
parent a5150c83a2
commit 125c572d97

View File

@ -80,8 +80,13 @@
#endif #endif
SERIAL_PROTOCOLPGM("Stepper:"); SERIAL_PROTOCOLPGM("Stepper:");
const float step_count[XYZE] = { stepper.position(X_AXIS), stepper.position(Y_AXIS), stepper.position(Z_AXIS), stepper.position(E_AXIS) }; LOOP_XYZE(i) {
report_xyze(step_count, 4, 0); SERIAL_CHAR(' ');
SERIAL_CHAR(axis_codes[i]);
SERIAL_CHAR(':');
SERIAL_PROTOCOL(stepper.position((AxisEnum)i));
}
SERIAL_EOL();
#if IS_SCARA #if IS_SCARA
const float deg[XYZ] = { const float deg[XYZ] = {