usbcnc/grbl

Direction Pins beyond 7

thkais opened this issue · 1 comments

Mapping direction pins to pins higher than 7 doesn't work.
The following changes will fix this:
planner.h, line 63
uint8_t direction_bits; --> PORTPINDEF direction_bits;
stepper.c, line 106
uint8_t direction_bits; --> PORTPINDEF direction_bits;

best regards
thkais

It won't go beyond 7 I'm assuming that includes 0?
I have to ask does the step pins use direct memory access on this chip? It would make timing a no-brainer