summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/extint.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb/extint.py')
-rw-r--r--tests/pyb/extint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyb/extint.py b/tests/pyb/extint.py
index a8ba484b1c..ae98ccd5a0 100644
--- a/tests/pyb/extint.py
+++ b/tests/pyb/extint.py
@@ -1,7 +1,7 @@
import pyb
# test basic functionality
-ext = pyb.ExtInt('X1', pyb.ExtInt.IRQ_RISING, pyb.Pin.PULL_DOWN, lambda l:print('line:', l))
+ext = pyb.ExtInt('Y1', pyb.ExtInt.IRQ_RISING, pyb.Pin.PULL_DOWN, lambda l:print('line:', l))
ext.disable()
ext.enable()
print(ext.line())