Fix Z_HEAD index for COREYZ

This commit is contained in:
Scott Lahteine
2016-08-02 15:03:35 -07:00
parent 0f030aface
commit d8945e8464
2 changed files with 2 additions and 2 deletions

View File

@ -782,7 +782,7 @@ void Planner::check_axes_activity() {
* Having the real displacement of the head, we can calculate the total movement length and apply the desired speed.
*/
#if ENABLED(COREXY) || ENABLED(COREXZ) || ENABLED(COREYZ)
float delta_mm[6];
float delta_mm[7];
#if ENABLED(COREXY)
delta_mm[X_HEAD] = dx * steps_to_mm[A_AXIS];
delta_mm[Y_HEAD] = dy * steps_to_mm[B_AXIS];