|
@@ -8374,8 +8374,13 @@ void report_current_position() {
|
8374
|
8374
|
#endif
|
8375
|
8375
|
|
8376
|
8376
|
SERIAL_PROTOCOLPGM("Stepper:");
|
8377
|
|
- const float step_count[XYZE] = { stepper.position(X_AXIS), stepper.position(Y_AXIS), stepper.position(Z_AXIS), stepper.position(E_AXIS) };
|
8378
|
|
- report_xyze(step_count, 4, 0);
|
|
8377
|
+ LOOP_XYZE(i) {
|
|
8378
|
+ SERIAL_CHAR(' ');
|
|
8379
|
+ SERIAL_CHAR(axis_codes[i]);
|
|
8380
|
+ SERIAL_CHAR(':');
|
|
8381
|
+ SERIAL_PROTOCOL(stepper.position((AxisEnum)i));
|
|
8382
|
+ }
|
|
8383
|
+ SERIAL_EOL();
|
8379
|
8384
|
|
8380
|
8385
|
#if IS_SCARA
|
8381
|
8386
|
const float deg[XYZ] = {
|