|
|
@ -8374,8 +8374,13 @@ void report_current_position() {
|
|
|
|
#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] = {
|
|
|
|