summaryrefslogtreecommitdiff
path: root/stm/servo.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-15 23:02:53 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-15 23:02:53 +0000
commit613eb25545e26e12c77af7154feb0ad039d86429 (patch)
tree5956a952ba1e9efc3ed46ffa591b633bc90a6ddd /stm/servo.c
parent5573f9f150d513ed3f996722e2b57b58cfb24f3b (diff)
stm: Fix print methods with new kind argument.
Diffstat (limited to 'stm/servo.c')
-rw-r--r--stm/servo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/servo.c b/stm/servo.c
index cc9633a99..f89c97f1c 100644
--- a/stm/servo.c
+++ b/stm/servo.c
@@ -116,7 +116,7 @@ typedef struct _pyb_servo_obj_t {
uint servo_id;
} pyb_servo_obj_t;
-static void servo_obj_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in) {
+static void servo_obj_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in, mp_print_kind_t kind) {
pyb_servo_obj_t *self = self_in;
print(env, "<Servo %lu>", self->servo_id);
}