Round all floats in string conversion functions (#10565)
This commit is contained in:
parent
b06fc3b539
commit
689ae467f2
6 changed files with 24 additions and 22 deletions
|
|
@ -5393,9 +5393,9 @@ void home_all_axes() { gcode_G28(true); }
|
|||
const float measured_z = probe_pt(xpos, ypos, raise_after, parser.intval('V', 1));
|
||||
|
||||
if (!isnan(measured_z)) {
|
||||
SERIAL_PROTOCOLPAIR("Bed X: ", FIXFLOAT(xpos));
|
||||
SERIAL_PROTOCOLPAIR(" Y: ", FIXFLOAT(ypos));
|
||||
SERIAL_PROTOCOLLNPAIR(" Z: ", FIXFLOAT(measured_z));
|
||||
SERIAL_PROTOCOLPAIR_F("Bed X: ", xpos);
|
||||
SERIAL_PROTOCOLPAIR_F(" Y: ", ypos);
|
||||
SERIAL_PROTOCOLLNPAIR_F(" Z: ", measured_z);
|
||||
}
|
||||
|
||||
clean_up_after_endstop_or_probe_move();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue