chiark / gitweb /
Focuser position gets updated in checkmotoridle so don't update it here master
authorAlexandra Lanes <ajlanes@chiark.greenend.org.uk>
Wed, 14 Feb 2024 23:05:59 +0000 (23:05 +0000)
committerAlexandra Lanes <ajlanes@chiark.greenend.org.uk>
Wed, 14 Feb 2024 23:05:59 +0000 (23:05 +0000)
legofocuser.py

index 34ac757ee76f523800cd02addedbca8e23233d21..14615b0dd7fc4772080dd38398c2606ecd947473 100755 (executable)
@@ -112,7 +112,6 @@ class LegoFocuser(device):
                 # stops running.
 
                 focpos.state='Busy'
                 # stops running.
 
                 focpos.state='Busy'
-                self.IDSet(focpos)
 
                 # And set a callback to return to OK when the motor
                 # has finished
 
                 # And set a callback to return to OK when the motor
                 # has finished
@@ -151,7 +150,6 @@ class LegoFocuser(device):
                 # stops running.
 
                 focpos.state='Busy'
                 # stops running.
 
                 focpos.state='Busy'
-                self.IDSet(focpos)
 
                 # And set a callback to return to OK when the motor
                 # has finished
 
                 # And set a callback to return to OK when the motor
                 # has finished