|
@@ -50,18 +50,6 @@
|
50
|
50
|
// Estimate the amount of time the Stepper ISR will take to execute
|
51
|
51
|
//
|
52
|
52
|
|
53
|
|
-#ifndef MINIMUM_STEPPER_PULSE
|
54
|
|
- #define MINIMUM_STEPPER_PULSE 0UL
|
55
|
|
-#endif
|
56
|
|
-
|
57
|
|
-#ifndef MAXIMUM_STEPPER_RATE
|
58
|
|
- #if MINIMUM_STEPPER_PULSE
|
59
|
|
- #define MAXIMUM_STEPPER_RATE (1000000UL / (2UL * (unsigned long)(MINIMUM_STEPPER_PULSE)))
|
60
|
|
- #else
|
61
|
|
- #define MAXIMUM_STEPPER_RATE 500000UL
|
62
|
|
- #endif
|
63
|
|
-#endif
|
64
|
|
-
|
65
|
53
|
#ifdef CPU_32_BIT
|
66
|
54
|
|
67
|
55
|
// The base ISR takes 792 cycles
|