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 1dfd74a8d9..f355878f2b 100644
--- a/stm/i2c.c
+++ b/stm/i2c.c
@@ -336,7 +336,7 @@ static const mp_method_t i2c_methods[] = {
static const mp_obj_type_t i2c_obj_type = {
{ &mp_const_type },
- "I2C",
+ .name = MP_QSTR_I2C,
.print = i2c_obj_print,
.methods = i2c_methods,
};