diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-15 23:02:53 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-15 23:02:53 +0000 |
commit | 613eb25545e26e12c77af7154feb0ad039d86429 (patch) | |
tree | 5956a952ba1e9efc3ed46ffa591b633bc90a6ddd /stm/usart.c | |
parent | 5573f9f150d513ed3f996722e2b57b58cfb24f3b (diff) | |
download | micropython-613eb25545e26e12c77af7154feb0ad039d86429.tar.gz micropython-613eb25545e26e12c77af7154feb0ad039d86429.zip |
stm: Fix print methods with new kind argument.
Diffstat (limited to 'stm/usart.c')
-rw-r--r-- | stm/usart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/usart.c b/stm/usart.c index 5f47ec788a..796516f547 100644 --- a/stm/usart.c +++ b/stm/usart.c @@ -207,7 +207,7 @@ static mp_obj_t usart_obj_tx_str(mp_obj_t self_in, mp_obj_t s) { return mp_const_none; } -static void usart_obj_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in) { +static void usart_obj_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in, mp_print_kind_t kind) { pyb_usart_obj_t *self = self_in; print(env, "<Usart %lu>", self->usart_id); } |