Tannoo 8 years ago
parent
commit
2ad3ca5d8a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd_impl_DOGM.h

+ 1
- 1
Marlin/ultralcd_impl_DOGM.h View File

1001
       for (uint8_t j = 0; j < GRID_MAX_POINTS_Y; j++, y += pixels_per_y_mesh_pnt)
1001
       for (uint8_t j = 0; j < GRID_MAX_POINTS_Y; j++, y += pixels_per_y_mesh_pnt)
1002
         if (PAGE_CONTAINS(y, y))
1002
         if (PAGE_CONTAINS(y, y))
1003
           for (uint8_t i = 0, x = sx; i < GRID_MAX_POINTS_X; i++, x += pixels_per_x_mesh_pnt)
1003
           for (uint8_t i = 0, x = sx; i < GRID_MAX_POINTS_X; i++, x += pixels_per_x_mesh_pnt)
1004
-            u8g.drawBox(sx, y, 1, 1);
1004
+            u8g.drawBox(x, y, 1, 1);
1005
 
1005
 
1006
       // Fill in the Specified Mesh Point
1006
       // Fill in the Specified Mesh Point
1007
 
1007
 

Loading…
Cancel
Save