summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/i2c.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb/i2c.py')
-rw-r--r--tests/pyb/i2c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyb/i2c.py b/tests/pyb/i2c.py
index bc9dba8781..c968843273 100644
--- a/tests/pyb/i2c.py
+++ b/tests/pyb/i2c.py
@@ -11,6 +11,6 @@ for bus in (-1, 0, 1):
i2c = I2C(1)
-i2c.init(I2C.MASTER, baudrate=400000)
+i2c.init(I2C.CONTROLLER, baudrate=400000)
print(i2c.scan())
i2c.deinit()