Skip to content

Commit 110ba82

Browse files
committed
Remove unnecessary delay
1 parent e769e20 commit 110ba82

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

neopia/neosoco.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,6 @@ def motor_move(self, direction='forward'):
582582
raise ValueError('Wrong value of direction')
583583
else:
584584
raise TypeError
585-
Runner.wait(100) # Since broadcast from controller is per 100ms
586585

587586
def motor_stop(self, which_motor='both'):
588587
if isinstance(which_motor, str):
@@ -597,7 +596,6 @@ def motor_stop(self, which_motor='both'):
597596
raise ValueError('Wrong value of motor')
598597
else:
599598
raise TypeError
600-
Runner.wait(100) # Since broadcast from controller is per 100ms
601599

602600
def _convert_sacle_within_100(self, value, cvt_max_val):
603601
# Map to 0~limited_val from 0~100(max), it's same as Entry

0 commit comments

Comments
 (0)