Fix long acceleration overflow

This commit is contained in:
Scott Lahteine
2021-04-13 23:22:57 -05:00
parent 0e9836649e
commit d705a5b45e
2 changed files with 12 additions and 13 deletions

View File

@ -443,7 +443,7 @@ class Planner {
/**
* Limit where 64bit math is necessary for acceleration calculation
*/
static uint32_t cutoff_long;
static uint32_t acceleration_long_cutoff;
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
static float last_fade_z;