summaryrefslogtreecommitdiffstatshomepage
path: root/stm/led.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/led.c
parent5573f9f150d513ed3f996722e2b57b58cfb24f3b (diff)
downloadmicropython-613eb25545e26e12c77af7154feb0ad039d86429.tar.gz
micropython-613eb25545e26e12c77af7154feb0ad039d86429.zip
stm: Fix print methods with new kind argument.
Diffstat (limited to 'stm/led.c')
-rw-r--r--stm/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/led.c b/stm/led.c
index eb7c76ef1f..8248a5c7d5 100644
--- a/stm/led.c
+++ b/stm/led.c
@@ -156,7 +156,7 @@ typedef struct _pyb_led_obj_t {
uint led_id;
} pyb_led_obj_t;
-void led_obj_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in) {
+void led_obj_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in, mp_print_kind_t kind) {
pyb_led_obj_t *self = self_in;
print(env, "<LED %lu>", self->led_id);
}