diff --git a/stm32-modules/include/flex-stacker/flex-stacker/motor_task.hpp b/stm32-modules/include/flex-stacker/flex-stacker/motor_task.hpp index d8921326d..8cd16392b 100644 --- a/stm32-modules/include/flex-stacker/flex-stacker/motor_task.hpp +++ b/stm32-modules/include/flex-stacker/flex-stacker/motor_task.hpp @@ -69,7 +69,7 @@ struct Defaults { static constexpr float SPEED_DISCONT = 5.0; static constexpr float MM_PER_REV = - lms::GearBoxConfig::mm_per_rev(16.0, 16.0 / 30.0); + lms::GearBoxConfig::mm_per_rev(30, 30.0 / 16.0); static constexpr float STEPS_PER_REV = 200; static constexpr float MICROSTEP = 16; };