Add support for CoreYZ to planner.buffer_line
This commit is contained in:
parent
1cf878fdb1
commit
8dc7807d85
|
@ -763,6 +763,12 @@ void Planner::_buffer_line(const float &a, const float &b, const float &c, const
|
||||||
enable_z();
|
enable_z();
|
||||||
}
|
}
|
||||||
if (block->steps[Y_AXIS]) enable_y();
|
if (block->steps[Y_AXIS]) enable_y();
|
||||||
|
#elif ENABLED(COREYZ)
|
||||||
|
if (block->steps[B_AXIS] || block->steps[C_AXIS]) {
|
||||||
|
enable_y();
|
||||||
|
enable_z();
|
||||||
|
}
|
||||||
|
if (block->steps[X_AXIS]) enable_x();
|
||||||
#else
|
#else
|
||||||
if (block->steps[X_AXIS]) enable_x();
|
if (block->steps[X_AXIS]) enable_x();
|
||||||
if (block->steps[Y_AXIS]) enable_y();
|
if (block->steps[Y_AXIS]) enable_y();
|
||||||
|
|
Loading…
Reference in a new issue