We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec2a39 commit 3bf6b3dCopy full SHA for 3bf6b3d
Marlin/src/module/ft_motion.cpp
@@ -627,7 +627,7 @@ void FTMotion::fill_stepper_plan_buffer() {
627
// hold that axis' trajectory coordinate constant for at least 750µs.
628
629
#define DIR_FLIP_HOLD_S 0.000'750f
630
- static constexpr uint32_t dir_flip_hold_frames = DIR_FLIP_HOLD_S / (FTM_TS + 1);
+ static constexpr uint32_t dir_flip_hold_frames = 1 + (DIR_FLIP_HOLD_S) / (FTM_TS);
631
632
auto start_hold_if_dir_flip = [&](const AxisEnum a) {
633
const bool dir = traj_coords[a] > last_target_traj[a],
0 commit comments