summaryrefslogtreecommitdiff
path: root/ports/zephyr/modmachine.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/zephyr/modmachine.c')
-rw-r--r--ports/zephyr/modmachine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/zephyr/modmachine.c b/ports/zephyr/modmachine.c
index fc4d3b3ca..29e6c889c 100644
--- a/ports/zephyr/modmachine.c
+++ b/ports/zephyr/modmachine.c
@@ -60,7 +60,7 @@ STATIC const mp_rom_map_elem_t machine_module_globals_table[] = {
#endif
{ MP_ROM_QSTR(MP_QSTR_reset_cause), MP_ROM_PTR(&machine_reset_cause_obj) },
- { MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&mp_machine_soft_i2c_type) },
+ { MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&machine_hard_i2c_type) },
{ MP_ROM_QSTR(MP_QSTR_Pin), MP_ROM_PTR(&machine_pin_type) },
{ MP_ROM_QSTR(MP_QSTR_Signal), MP_ROM_PTR(&machine_signal_type) },