Disable z stepper after each move.

All z-axis I'm aware off hold their positions with powered down stepper.
This commit is contained in:
Markus Amsler 2011-02-25 01:44:28 +01:00 committed by Markus Hitter
parent d2c0a84da7
commit d85f821872
1 changed files with 2 additions and 0 deletions

2
dda.c
View File

@ -604,6 +604,8 @@ void dda_step(DDA *dda) {
#ifdef DC_EXTRUDER
heater_set(DC_EXTRUDER, 0);
#endif
// z stepper is only enabled while moving
z_disable();
}
setTimer(dda->c >> 8);