aboutsummaryrefslogtreecommitdiff
path: root/ports/zephyr
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/zephyr
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/zephyr')
-rw-r--r--ports/zephyr/mpconfigport.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/zephyr/mpconfigport.h b/ports/zephyr/mpconfigport.h
index f94ee7270..6bfd9ff88 100644
--- a/ports/zephyr/mpconfigport.h
+++ b/ports/zephyr/mpconfigport.h
@@ -61,7 +61,6 @@
#define MICROPY_PY_MICROPYTHON_MEM_INFO (1)
#define MICROPY_PY_MACHINE (1)
#define MICROPY_PY_MACHINE_I2C (1)
-#define MICROPY_PY_MACHINE_I2C_MAKE_NEW machine_hard_i2c_make_new
#define MICROPY_PY_MACHINE_PIN_MAKE_NEW mp_pin_make_new
#define MICROPY_MODULE_WEAK_LINKS (1)
#define MICROPY_PY_STRUCT (0)