Lock sangaboard while reading position
This commit is contained in:
parent
5916daebfb
commit
160cd82889
1 changed files with 2 additions and 1 deletions
|
|
@ -51,7 +51,8 @@ class SangaStage(BaseStage):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def position(self):
|
def position(self):
|
||||||
return self.board.position
|
with self.lock:
|
||||||
|
return self.board.position
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def backlash(self):
|
def backlash(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue