Permalink
Browse files

Fix to enable spindle DDR ports.

  • Loading branch information...
1 parent fbed795 commit bfb05fc1f20ca8ff3f4a7e4fcc37cd74e90481fe @chamnit chamnit committed Feb 11, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 spindle_control.c
View
2 spindle_control.c
@@ -29,6 +29,8 @@ static int current_direction;
void spindle_init()
{
+ SPINDLE_ENABLE_DDR |= (1<<SPINDLE_ENABLE_BIT);
+ SPINDLE_DIRECTION_DDR |= (1<<SPINDLE_DIRECTION_BIT);
spindle_run(0, 0);
}

0 comments on commit bfb05fc

Please sign in to comment.