Skip to content

Commit

Permalink
Fix to enable spindle DDR ports.
Browse files Browse the repository at this point in the history
  • Loading branch information
chamnit committed Feb 11, 2012
1 parent fbed795 commit bfb05fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spindle_control.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit bfb05fc

Please sign in to comment.