fixed en operator precedence bug with step mask calculations
This commit is contained in:
parent
2b0e19993d
commit
df271c82da
2 changed files with 5 additions and 4 deletions
|
|
@ -85,6 +85,7 @@ void st_init()
|
|||
{
|
||||
// Configure directions of interface pins
|
||||
STEPPING_DDR |= STEPPING_MASK;
|
||||
printInteger(STEPPING_DDR);
|
||||
LIMIT_DDR &= ~(LIMIT_MASK);
|
||||
STEPPERS_ENABLE_DDR |= 1<<STEPPERS_ENABLE_BIT;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue