Browse Source

Fix coordinate size for G26 w/out arcs (#15443)

Oliver Jean Eifler 5 years ago
parent
commit
d52b908627
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/gcode/bedlevel/G26.cpp

+ 2
- 2
Marlin/src/gcode/bedlevel/G26.cpp View File

800
             if (user_canceled()) goto LEAVE;          // Check if the user wants to stop the Mesh Validation
800
             if (user_canceled()) goto LEAVE;          // Check if the user wants to stop the Mesh Validation
801
           #endif
801
           #endif
802
 
802
 
803
-          xy_float_t p = { circle.x + _COS(ind    ), circle.y + _SIN(ind    ), g26_layer_height },
804
-                     q = { circle.x + _COS(ind + 1), circle.y + _SIN(ind + 1), g26_layer_height };
803
+          xyz_float_t p = { circle.x + _COS(ind    ), circle.y + _SIN(ind    ), g26_layer_height },
804
+                      q = { circle.x + _COS(ind + 1), circle.y + _SIN(ind + 1), g26_layer_height };
805
 
805
 
806
           #if IS_KINEMATIC
806
           #if IS_KINEMATIC
807
             // Check to make sure this segment is entirely on the bed, skip if not.
807
             // Check to make sure this segment is entirely on the bed, skip if not.

Loading…
Cancel
Save