From e9b28279db89421c3588ee80a0d6c95d37067916 Mon Sep 17 00:00:00 2001 From: Sonny Jeon Date: Sun, 12 Feb 2012 11:02:23 -0700 Subject: [PATCH] Spindle DDR pins init minor fix. --- spindle_control.c | 3 +++ stepper.c | 4 ---- stepper.h | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spindle_control.c b/spindle_control.c index 3b7f8ca..1809a3b 100644 --- a/spindle_control.c +++ b/spindle_control.c @@ -23,6 +23,7 @@ #include "motion_control.h" #include "config.h" #include "planner.h" +#include "stepper.h" #include @@ -32,6 +33,8 @@ static int current_direction; void spindle_init() { + SPINDLE_ENABLE_DDR |= (1< #include +// Some useful constants #define LIMIT_MASK ((1<