Skip to content

Commit 0eb6fc7

Browse files
committed
Remove outdated warning about 'stalled' state
Closes #305
1 parent 83ffaa2 commit 0eb6fc7

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

ev3dev/core.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -881,15 +881,6 @@ def wait_until(self, s, timeout=None):
881881
there is an I/O event related to the ``state`` attribute. Exits early
882882
when ``timeout`` (in milliseconds) is reached.
883883
884-
.. warning::
885-
In ev3dev kernel release cycles 16 and earlier, there is a bug
886-
which causes the ``state`` attribute to include ``stalled``
887-
immediately after starting the motor even if it is not actually
888-
being prevented from rotating. As a workaround, we recommend
889-
sleeping your code for around 100ms after starting a motor if you
890-
are going to use this method to wait for it to be ``stalled``. A
891-
fix for this has not yet been released.
892-
893884
Returns ``True`` if the condition is met, and ``False`` if the timeout
894885
is reached.
895886
@@ -905,15 +896,6 @@ def wait_while(self, s, timeout=None):
905896
when there is an I/O event related to the ``state`` attribute. Exits
906897
early when ``timeout`` (in milliseconds) is reached.
907898
908-
.. warning::
909-
In ev3dev kernel release cycles 16 and earlier, there is a bug
910-
which causes the ``state`` attribute to include ``stalled``
911-
immediately after starting the motor even if it is not actually
912-
being prevented from rotating. As a workaround, we recommend
913-
sleeping your code for around 100ms after starting a motor if you
914-
are going to use this method to wait while it is ``stalled``. A
915-
fix for this has not yet been released.
916-
917899
Returns ``True`` if the condition is met, and ``False`` if the timeout
918900
is reached.
919901

0 commit comments

Comments
 (0)