diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-02-10 21:33:03 -0800 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-02-10 21:33:03 -0800 |
commit | 6a6ac8e4c72f95b1b9cd9920a255be075d9e31b0 (patch) | |
tree | d98e92f4f058bcdebe8709fee54b4024b079be5e /teensy/servo.c | |
parent | af19cbd20133de9c653253d75860a3050ea08b11 (diff) | |
download | micropython-6a6ac8e4c72f95b1b9cd9920a255be075d9e31b0.tar.gz micropython-6a6ac8e4c72f95b1b9cd9920a255be075d9e31b0.zip |
Bah - Removed a couple of warnings for teensy that I didn't notice before.
Diffstat (limited to 'teensy/servo.c')
-rw-r--r-- | teensy/servo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/teensy/servo.c b/teensy/servo.c index 3d6c9420d2..da720c892b 100644 --- a/teensy/servo.c +++ b/teensy/servo.c @@ -155,8 +155,9 @@ static mp_obj_t servo_obj_attached(mp_obj_t self_in) { return MP_OBJ_NEW_SMALL_INT(attached); } -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; + (void)kind; print(env, "<Servo %lu>", self->servo_id); } |