summaryrefslogtreecommitdiffstatshomepage
path: root/docs/tutorial/pass_through.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorial/pass_through.rst')
-rw-r--r--docs/tutorial/pass_through.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/tutorial/pass_through.rst b/docs/tutorial/pass_through.rst
index 309ef58e74..a94e7363d2 100644
--- a/docs/tutorial/pass_through.rst
+++ b/docs/tutorial/pass_through.rst
@@ -7,6 +7,7 @@ It's as simple as::
import select
def pass_through(usb, uart):
+ usb.setinterrupt(-1)
while True:
select.select([usb, uart], [], [])
if usb.any():