Fix formatting of extrapolate debug output

This commit is contained in:
Scott Lahteine 2016-10-06 17:04:22 -05:00 committed by GitHub
parent cd77eb5c40
commit 9a6c66602f

View File

@ -2267,7 +2267,7 @@ static void clean_up_after_endstop_or_probe_move() {
if (y < 10) SERIAL_CHAR(' '); if (y < 10) SERIAL_CHAR(' ');
SERIAL_ECHO((int)y); SERIAL_ECHO((int)y);
SERIAL_CHAR(ydir ? (ydir > 0 ? '+' : '-') : ' '); SERIAL_CHAR(ydir ? (ydir > 0 ? '+' : '-') : ' ');
SERIAL_ECHOLN(']'); SERIAL_CHAR(']');
} }
#endif #endif
if (bed_level_grid[x][y] < 999.0) { if (bed_level_grid[x][y] < 999.0) {
@ -2276,6 +2276,7 @@ static void clean_up_after_endstop_or_probe_move() {
#endif #endif
return; // Don't overwrite good values. return; // Don't overwrite good values.
} }
SERIAL_EOL;
// Get X neighbors, Y neighbors, and XY neighbors // Get X neighbors, Y neighbors, and XY neighbors
float a1 = bed_level_grid[x + xdir][y], a2 = bed_level_grid[x + xdir * 2][y], float a1 = bed_level_grid[x + xdir][y], a2 = bed_level_grid[x + xdir * 2][y],