Kevin O'Connor 1f14e950e7 stepper_enable: Unify explicit stepper enable/disable code
There were several slightly different implementations of explicit
stepper motor enabling/disabling in the force_move, stepper_enable,
and manual_stepper modules.  Introduce a new set_motors_enable()
method and use this in all implementations.  This simplifies the code
and reduces the chance of obscure timing issues.

This fixes a manual_stepper error introduced in commit 9399e738.  That
commit changed the manual_stepper class to no longer explicitly flush
and clear all steps after each move, which broke the expectations of
manual_stepper's custom enable code.  Using the more robust
implementation in stepper_enable fixes that issue.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-09-03 11:57:58 -04:00
..
2023-11-02 13:08:53 -04:00
2025-03-21 13:36:27 -04:00
2024-10-01 11:43:27 -04:00
2025-04-03 14:08:23 -04:00
2025-05-26 18:44:29 -04:00
2022-06-30 13:56:35 -04:00
2025-07-22 14:17:43 -04:00
2025-08-22 14:57:28 -04:00
2025-07-12 16:17:22 -04:00
2025-07-12 16:17:22 -04:00
2024-05-21 20:31:23 -04:00
2025-07-12 16:17:22 -04:00
2025-07-12 16:17:22 -04:00