Fix to enable spindle DDR ports.

This commit is contained in:
Sonny Jeon 2012-02-11 15:27:15 -07:00
parent fbed795f47
commit bfb05fc1f2

View File

@ -29,6 +29,8 @@ static int current_direction;
void spindle_init() void spindle_init()
{ {
SPINDLE_ENABLE_DDR |= (1<<SPINDLE_ENABLE_BIT);
SPINDLE_DIRECTION_DDR |= (1<<SPINDLE_DIRECTION_BIT);
spindle_run(0, 0); spindle_run(0, 0);
} }