diff options
Diffstat (limited to 'tests/pyb/i2c_error.py')
-rw-r--r-- | tests/pyb/i2c_error.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyb/i2c_error.py b/tests/pyb/i2c_error.py index b17a26325d..1228962f5f 100644 --- a/tests/pyb/i2c_error.py +++ b/tests/pyb/i2c_error.py @@ -11,7 +11,7 @@ if not hasattr(pyb, "Accel"): pyb.Accel() # get I2C bus -i2c = I2C(1, I2C.MASTER, dma=True) +i2c = I2C(1, I2C.CONTROLLER, dma=True) # test polling mem_read pyb.disable_irq() |