Skip to content

Commit

Permalink
Fix for loop, that all pos are shown (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
roflmaostc authored Oct 19, 2021
1 parent 5526ec6 commit 914a6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_position.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def main(args):
with pyAPT.MTS50(serial_number=con[2]) as con:
print('\tPosition (mm) = %.2f [enc:%d]'%(con.position(), con.position(raw=True)))

return 0
return 0
else:
print('\tNo APT controllers found. Maybe you need to specify a PID')
return 1
Expand Down

0 comments on commit 914a6f6

Please sign in to comment.