Add SERIAL_FLOAT_PRECISION option (#18367)
This commit is contained in:
parent
1ea4e393c9
commit
25c7c43a82
15 changed files with 30 additions and 21 deletions
|
@ -123,10 +123,10 @@ void safe_delay(millis_t ms) {
|
|||
#if ABL_PLANAR
|
||||
SERIAL_ECHOPGM("ABL Adjustment X");
|
||||
LOOP_XYZ(a) {
|
||||
float v = planner.get_axis_position_mm(AxisEnum(a)) - current_position[a];
|
||||
const float v = planner.get_axis_position_mm(AxisEnum(a)) - current_position[a];
|
||||
SERIAL_CHAR(' ', XYZ_CHAR(a));
|
||||
if (v > 0) SERIAL_CHAR('+');
|
||||
SERIAL_ECHO(v);
|
||||
SERIAL_DECIMAL(v);
|
||||
}
|
||||
#else
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue