mirror of
https://github.com/andreili/klipper.git
synced 2025-09-14 17:31:12 +02:00
Commit 9399e738 changed the manual_stepper class to no longer explicitly flush all steps after each move. As a result, calls to self.rail.get_commanded_position() may no longer reflect the last requested position. This discrepancy could result in "internal stepcompress" errors. Change the manual_stepper code to internally track the last requested position and use that when scheduling moves. This allows the manual_stepper code to utilize the standard "lazy" step flushing mechanism. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>