️ More SCURVE cycles on unoptimized cortex-m0 (#24955)

This commit is contained in:
Chris Bagwell 2022-11-27 21:40:11 -06:00 committed by Scott Lahteine
parent 57f6c93192
commit 6f5ad55953

View File

@ -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