Fix to enable spindle DDR ports.
This commit is contained in:
parent
fbed795f47
commit
bfb05fc1f2
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue