mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Merge pull request #5154 from thinkyhead/rc_bilinear_splits
Don't define bilinear_line_to_destination on kinematic setups
This commit is contained in:
commit
28a039c0e1
@ -8698,7 +8698,7 @@ void set_current_from_steppers_for_axis(const AxisEnum axis) {
|
|||||||
mesh_line_to_destination(fr_mm_s, x_splits, y_splits);
|
mesh_line_to_destination(fr_mm_s, x_splits, y_splits);
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#elif ENABLED(AUTO_BED_LEVELING_BILINEAR) && !IS_KINEMATIC
|
||||||
|
|
||||||
#define CELL_INDEX(A,V) ((RAW_##A##_POSITION(V) - bilinear_start[A##_AXIS]) / bilinear_grid_spacing[A##_AXIS])
|
#define CELL_INDEX(A,V) ((RAW_##A##_POSITION(V) - bilinear_start[A##_AXIS]) / bilinear_grid_spacing[A##_AXIS])
|
||||||
|
|
||||||
@ -8937,7 +8937,7 @@ void set_current_from_steppers_for_axis(const AxisEnum axis) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else // !IS_KINEMATIC
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prepare a linear move in a Cartesian setup.
|
* Prepare a linear move in a Cartesian setup.
|
||||||
|
Loading…
Reference in New Issue
Block a user