♻️ Refactor axis counts and loops
This commit is contained in:
parent
f7d28ce1d6
commit
26a244325b
45 changed files with 178 additions and 165 deletions
|
@ -123,9 +123,9 @@ void safe_delay(millis_t ms) {
|
|||
#endif
|
||||
#if ABL_PLANAR
|
||||
SERIAL_ECHOPGM("ABL Adjustment X");
|
||||
LOOP_XYZ(a) {
|
||||
LOOP_LINEAR_AXES(a) {
|
||||
const float v = planner.get_axis_position_mm(AxisEnum(a)) - current_position[a];
|
||||
SERIAL_CHAR(' ', XYZ_CHAR(a));
|
||||
SERIAL_CHAR(' ', AXIS_CHAR(a));
|
||||
if (v > 0) SERIAL_CHAR('+');
|
||||
SERIAL_DECIMAL(v);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue