aboutsummaryrefslogtreecommitdiff
path: root/ports/nrf
diff options
context:
space:
mode:
authorDamien George2020-09-16 13:37:31 +1000
committerDamien George2020-10-01 12:57:10 +1000
commitaaed33896b0fec67a0e2ec7daf3fe908253d8cf7 (patch)
treec678d61c865681295ec08dc6137f7e266598f39c /ports/nrf
parentc35deb2625efc877b3a0d03d5654e27232b2d101 (diff)
extmod/machine_i2c: Remove "id" arg in SoftI2C constructor.
The SoftI2C constructor is now used soley to create SoftI2C instances, it can no longer delegate to create a hardware-based I2C instance. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/nrf')
-rw-r--r--ports/nrf/mpconfigport.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/nrf/mpconfigport.h b/ports/nrf/mpconfigport.h
index 76bb6d7bd..a025feb2e 100644
--- a/ports/nrf/mpconfigport.h
+++ b/ports/nrf/mpconfigport.h
@@ -135,7 +135,6 @@
#define MICROPY_PY_UTIME_MP_HAL (1)
#define MICROPY_PY_MACHINE (1)
#define MICROPY_PY_MACHINE_PULSE (0)
-#define MICROPY_PY_MACHINE_I2C_MAKE_NEW machine_hard_i2c_make_new
#define MICROPY_PY_MACHINE_SPI (0)
#define MICROPY_PY_MACHINE_SPI_MIN_DELAY (0)
#define MICROPY_PY_FRAMEBUF (0)