usbcnc/grbl

G-Code G4 not working correctly

lakeroe opened this issue · 1 comments

In my application the G-Code "G4 P3" did not work correctly.
I think the problem is caused by the _delay_ms function in main.c.
If I change line 196 from
SysTick->LOAD = (u32)72000000 / 8000; // Loading time

to
SysTick->LOAD = (u32)72000000 / 8000 * x; // Loading time

everything works fine.

Best regards,
lakeroe

Thanks,