⚡️ More SCURVE cycles on unoptimized cortex-m0 (#24955)
This commit is contained in:
parent
89334caa52
commit
f3108e87f1
|
|
@ -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)
|
||||||
|
#ifdef STM32G0B1xx
|
||||||
|
#define ISR_S_CURVE_CYCLES 500UL
|
||||||
|
#else
|
||||||
#define ISR_S_CURVE_CYCLES 40UL
|
#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