message: update step_dir_test
diff: @@ -53,7 +53,8 @@ class TestStepDir():
  axis.handle.controller.input_pos = 0
  ref = axis.handle.controller.input_pos
  - axis.handle.config.turns_per_step = turns_per_step = 10
  + turns_per_step = 0.1
  + axis.handle.controller.config.steps_per_circular_range = 1.0 / turns_per_step
  # On the RPi 4 a ~5kHz GPIO signal can be generated from Python
  @@ -74,7 +75,8 @@ class TestStepDir():
  ref = axis.handle.controller.input_pos
  dir_gpio.write(True)
  - axis.handle.config.turns_per_step = turns_per_step = 1
  + turns_per_step = 1
  + axis.handle.controller.config.steps_per_circular_range = 1.0 / turns_per_step
  for i in range(100):
  step_gpio.write(True)
  @@ -83,7 +85,8 @@ class TestStepDir():
  test_assert_eq(axis.handle.controller.input_pos, ref + (i + 1) * turns_per_step, range = 0.4 * turns_per_step)
  ref = axis.handle.controller.input_pos
  - axis.handle.config.turns_per_step = turns_per_step = -1
  + turns_per_step = -1
  + axis.handle.controller.config.steps_per_circular_range = 1.0 / turns_per_step
  for i in range(100):
  step_gpio.write(True)
  