Skip to content

Commit

Permalink
⚡️ Update ISR cycle counts
Browse files Browse the repository at this point in the history
Co-Authored-By: tombrazier <68918209+tombrazier@users.noreply.github.com>
  • Loading branch information
thinkyhead and tombrazier committed Mar 13, 2023
1 parent 143a870 commit db2b8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/module/stepper.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
#define TIMER_READ_ADD_AND_STORE_CYCLES 13UL

// The base ISR
#define ISR_BASE_CYCLES 996UL
#define ISR_BASE_CYCLES 882UL

// Linear advance base time is 32 cycles
#if ENABLED(LIN_ADVANCE)
Expand All @@ -138,7 +138,7 @@
#define ISR_LOOP_BASE_CYCLES 32UL

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

#endif

Expand Down

0 comments on commit db2b8a6

Please sign in to comment.