Browse Source

Print Y as int in print_bed_level

Scott Lahteine 8 years ago
parent
commit
53a0856f5c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

2362
     SERIAL_EOL;
2362
     SERIAL_EOL;
2363
     for (uint8_t y = 0; y < ABL_GRID_POINTS_Y; y++) {
2363
     for (uint8_t y = 0; y < ABL_GRID_POINTS_Y; y++) {
2364
       if (y < 9) SERIAL_PROTOCOLCHAR(' ');
2364
       if (y < 9) SERIAL_PROTOCOLCHAR(' ');
2365
-      SERIAL_PROTOCOL(y);
2365
+      SERIAL_PROTOCOL((int)y);
2366
       for (uint8_t x = 0; x < ABL_GRID_POINTS_X; x++) {
2366
       for (uint8_t x = 0; x < ABL_GRID_POINTS_X; x++) {
2367
         SERIAL_PROTOCOLCHAR(' ');
2367
         SERIAL_PROTOCOLCHAR(' ');
2368
         float offset = bed_level_grid[x][y];
2368
         float offset = bed_level_grid[x][y];

Loading…
Cancel
Save