Skip to content

Commit

Permalink
Correct the type of motor limits from int -> float
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Willemsen committed Apr 30, 2024
1 parent f8057d7 commit 33be996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ophyd_async/epics/motion/motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def __init__(self, prefix: str, name="") -> None:
self.precision = epics_signal_r(int, prefix + ".PREC")
self.deadband = epics_signal_r(float, prefix + ".RDBD")
self.motor_done_move = epics_signal_r(float, prefix + ".DMOV")
self.low_limit_travel = epics_signal_rw(int, prefix + ".LLM")
self.high_limit_travel = epics_signal_rw(int, prefix + ".HLM")
self.low_limit_travel = epics_signal_rw(float, prefix + ".LLM")
self.high_limit_travel = epics_signal_rw(float, prefix + ".HLM")

self.motor_stop = epics_signal_x(prefix + ".STOP")
# Whether set() should complete successfully or not
Expand Down

0 comments on commit 33be996

Please sign in to comment.