Skip to content

Commit db2b8a6

Browse files
⚡️ Update ISR cycle counts
Co-Authored-By: tombrazier <[email protected]>
1 parent 143a870 commit db2b8a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Marlin/src/module/stepper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
#define TIMER_READ_ADD_AND_STORE_CYCLES 13UL
112112

113113
// The base ISR
114-
#define ISR_BASE_CYCLES 996UL
114+
#define ISR_BASE_CYCLES 882UL
115115

116116
// Linear advance base time is 32 cycles
117117
#if ENABLED(LIN_ADVANCE)
@@ -138,7 +138,7 @@
138138
#define ISR_LOOP_BASE_CYCLES 32UL
139139

140140
// And each stepper (start + stop pulse) takes in worst case
141-
#define ISR_STEPPER_CYCLES 88UL
141+
#define ISR_STEPPER_CYCLES 60UL
142142

143143
#endif
144144

0 commit comments

Comments
 (0)