mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Only queue babysteps if axis is in a known position
This commit is contained in:
parent
5e9726530f
commit
72a7fac461
@ -431,6 +431,7 @@ class Temperature {
|
||||
#if ENABLED(BABYSTEPPING)
|
||||
|
||||
static void babystep_axis(const AxisEnum axis, const int distance) {
|
||||
if (axis_known_position[axis]) {
|
||||
#if IS_CORE
|
||||
#if ENABLED(BABYSTEP_XY)
|
||||
switch (axis) {
|
||||
@ -457,6 +458,7 @@ class Temperature {
|
||||
babystepsTodo[axis] += distance;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
#endif // BABYSTEPPING
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user