Print Y as int in print_bed_level

This commit is contained in:
Scott Lahteine 2016-10-06 16:46:54 -05:00 committed by GitHub
parent 30fee51e86
commit 53a0856f5c

View File

@ -2362,7 +2362,7 @@ static void clean_up_after_endstop_or_probe_move() {
SERIAL_EOL;
for (uint8_t y = 0; y < ABL_GRID_POINTS_Y; y++) {
if (y < 9) SERIAL_PROTOCOLCHAR(' ');
SERIAL_PROTOCOL(y);
SERIAL_PROTOCOL((int)y);
for (uint8_t x = 0; x < ABL_GRID_POINTS_X; x++) {
SERIAL_PROTOCOLCHAR(' ');
float offset = bed_level_grid[x][y];