backlash: Fix syntax to match Python 2

Signed-off-by: Oleksii Shchetinin <willkaxxx@gmail.com>
This commit is contained in:
Oleksii Shchetinin 2025-12-31 17:06:45 +02:00
parent df5046c476
commit 039e640416

View file

@ -80,7 +80,7 @@ class BacklashCompensation:
pos[2] -= offset_z
return pos
def move(self, newpos, speed) -> None:
def move(self, newpos, speed):
# Get current logical position
cur_pos = self.get_position()
start_x, start_y, start_z = cur_pos[0], cur_pos[1], cur_pos[2]