|
@@ -2015,14 +2015,15 @@ inline void gcode_G28() {
|
2015
|
2015
|
|
2016
|
2016
|
if (verbose_level) {
|
2017
|
2017
|
SERIAL_PROTOCOLPGM("Eqn coefficients: a: ");
|
2018
|
|
- SERIAL_PROTOCOL(plane_equation_coefficients[0] + 0.0001);
|
|
2018
|
+ SERIAL_PROTOCOL_F(plane_equation_coefficients[0], 8);
|
2019
|
2019
|
SERIAL_PROTOCOLPGM(" b: ");
|
2020
|
|
- SERIAL_PROTOCOL(plane_equation_coefficients[1] + 0.0001);
|
|
2020
|
+ SERIAL_PROTOCOL_F(plane_equation_coefficients[1], 8);
|
2021
|
2021
|
SERIAL_PROTOCOLPGM(" d: ");
|
2022
|
|
- SERIAL_PROTOCOLLN(plane_equation_coefficients[2] + 0.0001);
|
|
2022
|
+ SERIAL_PROTOCOL_F(plane_equation_coefficients[2], 8);
|
|
2023
|
+ SERIAL_EOL;
|
2023
|
2024
|
if (verbose_level > 2) {
|
2024
|
2025
|
SERIAL_PROTOCOLPGM("Mean of sampled points: ");
|
2025
|
|
- SERIAL_PROTOCOL_F(mean, 6);
|
|
2026
|
+ SERIAL_PROTOCOL_F(mean, 8);
|
2026
|
2027
|
SERIAL_EOL;
|
2027
|
2028
|
}
|
2028
|
2029
|
}
|
|
@@ -2033,15 +2034,20 @@ inline void gcode_G28() {
|
2033
|
2034
|
|
2034
|
2035
|
SERIAL_PROTOCOLPGM(" \nBed Height Topography: \n");
|
2035
|
2036
|
#if TOPO_ORIGIN == OriginFrontLeft
|
|
2037
|
+ SERIAL_PROTOCOLPGM("+-----------+\n");
|
|
2038
|
+ SERIAL_PROTOCOLPGM("|...Back....|\n");
|
|
2039
|
+ SERIAL_PROTOCOLPGM("|Left..Right|\n");
|
|
2040
|
+ SERIAL_PROTOCOLPGM("|...Front...|\n");
|
|
2041
|
+ SERIAL_PROTOCOLPGM("+-----------+\n");
|
2036
|
2042
|
for (yy = auto_bed_leveling_grid_points - 1; yy >= 0; yy--)
|
2037
|
2043
|
#else
|
2038
|
2044
|
for (yy = 0; yy < auto_bed_leveling_grid_points; yy++)
|
2039
|
2045
|
#endif
|
2040
|
2046
|
{
|
2041
|
2047
|
#if TOPO_ORIGIN == OriginBackRight
|
2042
|
|
- for (xx = auto_bed_leveling_grid_points - 1; xx >= 0; xx--)
|
2043
|
|
- #else
|
2044
|
2048
|
for (xx = 0; xx < auto_bed_leveling_grid_points; xx++)
|
|
2049
|
+ #else
|
|
2050
|
+ for (xx = auto_bed_leveling_grid_points - 1; xx >= 0; xx--)
|
2045
|
2051
|
#endif
|
2046
|
2052
|
{
|
2047
|
2053
|
int ind =
|