Fix MINIMUM_STEPPER_PULSE maths
This commit is contained in:
parent
68773f4486
commit
6a9b008044
2 changed files with 117 additions and 64 deletions
|
|
@ -36,8 +36,9 @@
|
|||
#define CRITICAL_SECTION_END SREG = _sreg;
|
||||
#endif
|
||||
|
||||
// Clock speed factor
|
||||
#define CYCLES_PER_MICROSECOND (F_CPU / 1000000UL) // 16 or 20
|
||||
// Clock speed factors
|
||||
#define CYCLES_PER_MICROSECOND (F_CPU / 1000000L) // 16 or 20
|
||||
#define INT0_PRESCALER 8
|
||||
|
||||
// Highly granular delays for step pulses, etc.
|
||||
#define DELAY_0_NOP NOOP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue