diff options
Diffstat (limited to 'tests/pyb/pyb_f405.py')
-rw-r--r-- | tests/pyb/pyb_f405.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyb/pyb_f405.py b/tests/pyb/pyb_f405.py index 243381056e..d7431a11a1 100644 --- a/tests/pyb/pyb_f405.py +++ b/tests/pyb/pyb_f405.py @@ -10,7 +10,7 @@ print(pyb.freq()) print(type(pyb.rng())) # test HAL error specific to F405 -i2c = pyb.I2C(2, pyb.I2C.MASTER) +i2c = pyb.I2C(2, pyb.I2C.CONTROLLER) try: i2c.recv(1, 1) except OSError as e: |