Skip to content

Commit

Permalink
⚡️ More SCURVE cycles on unoptimized cortex-m0 (MarlinFirmware#24955)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbagwell authored and thinkyhead committed Dec 16, 2022
1 parent 57f6c93 commit 6f5ad55
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Marlin/src/module/stepper.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@

// S curve interpolation adds 40 cycles
#if ENABLED(S_CURVE_ACCELERATION)
#define ISR_S_CURVE_CYCLES 40UL
#ifdef STM32G0B1xx
#define ISR_S_CURVE_CYCLES 500UL
#else
#define ISR_S_CURVE_CYCLES 40UL
#endif
#else
#define ISR_S_CURVE_CYCLES 0UL
#endif
Expand Down

0 comments on commit 6f5ad55

Please sign in to comment.