mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-23 01:58:59 +00:00
⚡️ More SCURVE cycles on unoptimized cortex-m0 (#24955)
This commit is contained in:
parent
57f6c93192
commit
6f5ad55953
1 changed files with 5 additions and 1 deletions
|
@ -87,7 +87,11 @@
|
||||||
|
|
||||||
// S curve interpolation adds 40 cycles
|
// S curve interpolation adds 40 cycles
|
||||||
#if ENABLED(S_CURVE_ACCELERATION)
|
#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
|
#else
|
||||||
#define ISR_S_CURVE_CYCLES 0UL
|
#define ISR_S_CURVE_CYCLES 0UL
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue