mirror of
https://github.com/undera/pylgbst.git
synced 2020-11-18 19:37:26 -08:00
Shrink problematic wait
This commit is contained in:
parent
39003f0728
commit
6be14c8c44
@ -101,7 +101,7 @@ class Peripheral(object):
|
|||||||
if not async:
|
if not async:
|
||||||
log.debug("Waiting for sync command work to finish...")
|
log.debug("Waiting for sync command work to finish...")
|
||||||
while self.in_progress():
|
while self.in_progress():
|
||||||
time.sleep(0.5)
|
time.sleep(0.001)
|
||||||
log.debug("Command has finished.")
|
log.debug("Command has finished.")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user