Browse Source

Merge pull request #1716 from thinkyhead/fixup_leveling

Fix Z_APPLY_STEP for dual Z
pull/1/head
Scott Lahteine 10 years ago
parent
commit
72510b75d2
  1. 2
      Marlin/stepper.cpp

2
Marlin/stepper.cpp

@ -155,7 +155,7 @@ volatile signed char count_direction[NUM_AXIS] = { 1, 1, 1, 1 };
Z2_STEP_WRITE(v); \
}
#else
#define Z_APPLY_STEP(v,Q) Z_STEP_WRITE(v), Z2_STEP_WRITE(v)
#define Z_APPLY_STEP(v,Q) { Z_STEP_WRITE(v); Z2_STEP_WRITE(v); }
#endif
#else
#define Z_APPLY_DIR(v,Q) Z_DIR_WRITE(v)

Loading…
Cancel
Save