Get Bi-Linear to work with G26
More corrections to make that happen...
This commit is contained in:
parent
0850b38b45
commit
48fb4e0932
|
@ -72,8 +72,8 @@ void reset_bed_level();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
#define _GET_MESH_X(I) (bilinear_start[X_AXIS] + I * bilinear_grid_spacing[X_AXIS])
|
#define _GET_MESH_X(I) (bilinear_start[X_AXIS] + (I) * bilinear_grid_spacing[X_AXIS])
|
||||||
#define _GET_MESH_Y(J) (bilinear_start[Y_AXIS] + J * bilinear_grid_spacing[Y_AXIS])
|
#define _GET_MESH_Y(J) (bilinear_start[Y_AXIS] + (J) * bilinear_grid_spacing[Y_AXIS])
|
||||||
#elif ENABLED(AUTO_BED_LEVELING_UBL)
|
#elif ENABLED(AUTO_BED_LEVELING_UBL)
|
||||||
#define _GET_MESH_X(I) ubl.mesh_index_to_xpos(I)
|
#define _GET_MESH_X(I) ubl.mesh_index_to_xpos(I)
|
||||||
#define _GET_MESH_Y(J) ubl.mesh_index_to_ypos(J)
|
#define _GET_MESH_Y(J) ubl.mesh_index_to_ypos(J)
|
||||||
|
|
Loading…
Reference in a new issue