⚡️ More SCURVE cycles on unoptimized cortex-m0 (#24955)
This commit is contained in:
parent
57f6c93192
commit
6f5ad55953
@ -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 New Issue
Block a user