Browse Source

Get Bi-Linear to work with G26

More corrections to make that happen...
Roxy-3D 7 years ago
parent
commit
48fb4e0932
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/feature/bedlevel/bedlevel.h

+ 2
- 2
Marlin/src/feature/bedlevel/bedlevel.h View File

72
 #endif
72
 #endif
73
 
73
 
74
 #if ENABLED(AUTO_BED_LEVELING_BILINEAR)
74
 #if ENABLED(AUTO_BED_LEVELING_BILINEAR)
75
-  #define _GET_MESH_X(I) (bilinear_start[X_AXIS] + I * bilinear_grid_spacing[X_AXIS])
76
-  #define _GET_MESH_Y(J) (bilinear_start[Y_AXIS] + J * bilinear_grid_spacing[Y_AXIS])
75
+  #define _GET_MESH_X(I) (bilinear_start[X_AXIS] + (I) * bilinear_grid_spacing[X_AXIS])
76
+  #define _GET_MESH_Y(J) (bilinear_start[Y_AXIS] + (J) * bilinear_grid_spacing[Y_AXIS])
77
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
77
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
78
   #define _GET_MESH_X(I) ubl.mesh_index_to_xpos(I)
78
   #define _GET_MESH_X(I) ubl.mesh_index_to_xpos(I)
79
   #define _GET_MESH_Y(J) ubl.mesh_index_to_ypos(J)
79
   #define _GET_MESH_Y(J) ubl.mesh_index_to_ypos(J)

Loading…
Cancel
Save