Skip to content

Commit

Permalink
bug fix - wrong function was called
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquanli committed Feb 24, 2025
1 parent 6825143 commit 318a2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/control/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,7 @@ def home(self):

def update_displacement_um_display(self, displacement=None):
if displacement is None:
displacement = self.piezo.get_pos()
displacement = self.piezo.position
self.piezo_displacement_um = round(displacement, 2)
self.update_spinBox()
self.update_slider()
Expand Down

0 comments on commit 318a2f9

Please sign in to comment.