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 22c908566d..d4e4f18b0d 100644
--- a/stm/i2c.c
+++ b/stm/i2c.c
@@ -252,7 +252,7 @@ typedef struct _pyb_i2c_obj_t {
i2c_state_t i2c_state;
} pyb_i2c_obj_t;
-void i2c_obj_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in) {
+void i2c_obj_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in, mp_print_kind_t kind) {
pyb_i2c_obj_t *self = self_in;
print(env, "<I2C%lu addr:%lu>", (unsigned int)self->i2c_port, (unsigned int)self->i2c_addr);
}