Browse Source

Add support for CoreYZ to planner.buffer_line

pull/1/head
Scott Lahteine 8 years ago
parent
commit
8dc7807d85
  1. 6
      Marlin/planner.cpp

6
Marlin/planner.cpp

@ -763,6 +763,12 @@ void Planner::_buffer_line(const float &a, const float &b, const float &c, const
enable_z();
}
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
if (block->steps[X_AXIS]) enable_x();
if (block->steps[Y_AXIS]) enable_y();

Loading…
Cancel
Save