Commit 490eb794 authored by MagoKimbra's avatar MagoKimbra

Fix

parent 42f4a743
...@@ -3202,6 +3202,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) { ...@@ -3202,6 +3202,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
ECHO_LM(DB, "|...Front...|"); ECHO_LM(DB, "|...Front...|");
ECHO_LM(DB, "+-----------+"); ECHO_LM(DB, "+-----------+");
ECHO_LM(DB, " ");
for (int yy = auto_bed_leveling_grid_points - 1; yy >= 0; yy--) { for (int yy = auto_bed_leveling_grid_points - 1; yy >= 0; yy--) {
for (int xx = 0; xx < auto_bed_leveling_grid_points; xx++) { for (int xx = 0; xx < auto_bed_leveling_grid_points; xx++) {
int ind = yy * auto_bed_leveling_grid_points + xx; int ind = yy * auto_bed_leveling_grid_points + xx;
...@@ -3210,7 +3211,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) { ...@@ -3210,7 +3211,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
else ECHO_M(" "); else ECHO_M(" ");
ECHO_V(diff, 5); ECHO_V(diff, 5);
} // xx } // xx
ECHO_E; ECHO_LM(DB, " ");
} // yy } // yy
ECHO_E; ECHO_E;
...@@ -3238,7 +3239,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) { ...@@ -3238,7 +3239,7 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
#endif // !AUTO_BED_LEVELING_GRID #endif // !AUTO_BED_LEVELING_GRID
if (verbose_level > 0) if (verbose_level > 0)
plan_bed_level_matrix.debug(" \n\nBed Level Correction Matrix:"); plan_bed_level_matrix.debug("Bed Level Correction Matrix:");
if (!dryrun) { if (!dryrun) {
// Correct the Z height difference from z-probe position and hotend tip position. // Correct the Z height difference from z-probe position and hotend tip position.
...@@ -3270,8 +3271,8 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) { ...@@ -3270,8 +3271,8 @@ inline void gcode_G28(boolean home_x = false, boolean home_y = false) {
run_z_probe(); run_z_probe();
ECHO_SM(DB, "Bed"); ECHO_SM(DB, "Bed");
ECHO_M(" X: ", current_position[X_AXIS] + 0.0001); ECHO_MV(" X: ", current_position[X_AXIS] + 0.0001);
ECHO_M(" Y: ", current_position[Y_AXIS] + 0.0001); ECHO_MV(" Y: ", current_position[Y_AXIS] + 0.0001);
ECHO_EMV(" Z: ", current_position[Z_AXIS] + 0.0001); ECHO_EMV(" Z: ", current_position[Z_AXIS] + 0.0001);
clean_up_after_endstop_move(); clean_up_after_endstop_move();
......
...@@ -117,7 +117,7 @@ matrix_3x3 matrix_3x3::transpose(matrix_3x3 original) { ...@@ -117,7 +117,7 @@ matrix_3x3 matrix_3x3::transpose(matrix_3x3 original) {
} }
void matrix_3x3::debug(const char title[]) { void matrix_3x3::debug(const char title[]) {
ECHO_SV(DB, title); ECHO_LV(DB, title);
int count = 0; int count = 0;
for(int i=0; i<3; i++) { for(int i=0; i<3; i++) {
for(int j=0; j<3; j++) { for(int j=0; j<3; j++) {
...@@ -126,7 +126,7 @@ void matrix_3x3::debug(const char title[]) { ...@@ -126,7 +126,7 @@ void matrix_3x3::debug(const char title[]) {
ECHO_C(' '); ECHO_C(' ');
count++; count++;
} }
ECHO_E; ECHO_LM(DB, " ");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment