Fix to enable spindle DDR ports.
This commit is contained in:
parent
fbed795f47
commit
bfb05fc1f2
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user