Browse Source

If CORE_XY is in use X and Y Axis had to be activated at the same time

pull/1/head
midopple 11 years ago
parent
commit
a65a26d6b4
  1. 8
      Marlin/planner.cpp

8
Marlin/planner.cpp

@ -582,8 +582,16 @@ void plan_buffer_line(const float &x, const float &y, const float &z, const floa
block->active_extruder = extruder;
//enable active axes
#ifdef COREXY
if((block->steps_x != 0) || (block->steps_y != 0))
{
enable_x();
enable_y();
}
#else
if(block->steps_x != 0) enable_x();
if(block->steps_y != 0) enable_y();
#endif
#ifndef Z_LATE_ENABLE
if(block->steps_z != 0) enable_z();
#endif

Loading…
Cancel
Save