Commit Graph

9 Commits

Author SHA1 Message Date
Markus Hitter 3d1ebf1186 Review power supply timeout.
- Move the variable from dda.c to pinio.c.

- Reset the timeout on each power on, to guarantee a minimum PSU on time.
2012-07-16 20:13:12 +02:00
Markus Hitter eb734b173d power_on(): add a delay when powering on.
This allows the PSU to come up before we get step losses if
we step immediately.
2011-10-05 14:13:24 +02:00
Markus Hitter 3b4953a631 Remove a bunch of duplicate x_enable() etc.. 2011-10-05 14:13:22 +02:00
Markus Hitter b45969e57a Introduce stepper_enable() and stepper_disable().
This allows to heat up with disables steppers, even if all steppers
share a common enable pin.
2011-10-05 14:13:21 +02:00
Markus Hitter 090da8ddad Clean up handling PS_ON_PIN and STEPPER_ENABLE_PIN.
This means moving power_on() from a macro to a function and
initializing the STEPPER_ENABLE_PIN in mendel.c.
2011-10-05 14:13:15 +02:00
Markus Hitter c182cc8929 pinio.c: remove duplicate #ifdef wrapping.
In case of no enable pins, these functions resolve to nothing
anyways, see pinio.h.
2011-03-02 00:42:57 +01:00
Stephan Walter 8acb072e0b Actually set extruder enable pin if defined 2011-02-27 00:55:14 +11:00
Michael Moon c5901cb04d missed a semicolon
Reported-by: jgilmore
2011-02-09 13:55:04 +11:00
Michael Moon 266c6ee0e2 merge release-candidate-triffid 2011-01-07 23:29:32 +11:00