summaryrefslogtreecommitdiffstatshomepage
path: root/stm/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/i2c.c')
-rw-r--r--stm/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/i2c.c b/stm/i2c.c
index f355878f2b..33d9a43f3a 100644
--- a/stm/i2c.c
+++ b/stm/i2c.c
@@ -335,7 +335,7 @@ static const mp_method_t i2c_methods[] = {
};
static const mp_obj_type_t i2c_obj_type = {
- { &mp_const_type },
+ { &mp_type_type },
.name = MP_QSTR_I2C,
.print = i2c_obj_print,
.methods = i2c_methods,