summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/machine_signal.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/machine_signal.py')
-rw-r--r--tests/extmod/machine_signal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/extmod/machine_signal.py b/tests/extmod/machine_signal.py
index 401533f230..96b8f43c73 100644
--- a/tests/extmod/machine_signal.py
+++ b/tests/extmod/machine_signal.py
@@ -33,7 +33,7 @@ print(p.value(), s.value())
# test inverted, and using on/off methods
p = Pin()
-s = machine.Signal(p, inverted=True)
+s = machine.Signal(p, invert=True)
s.off()
print(p.value(), s.value())
s.on()