diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-03 13:24:21 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-03 13:24:21 +0100 |
commit | 5874c1c92baac65834c4684e913ca0a7d8db8f50 (patch) | |
tree | 10e220915d654cf862ed73cefeed3366560857f6 /stmhal/timer.c | |
parent | e88814a27492c41791bf2a10cd452340b54b66e5 (diff) |
stmhal: Remove #include <stdint.h> from mpconfigport.h.
Make include dependencies neater, and adheres to the coding convention
that headers should not include headers.
Diffstat (limited to 'stmhal/timer.c')
-rw-r--r-- | stmhal/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/timer.c b/stmhal/timer.c index e1d55e14a..e92a9988f 100644 --- a/stmhal/timer.c +++ b/stmhal/timer.c @@ -467,7 +467,7 @@ void timer_irq_handler(uint tim_id) { // Uncaught exception; disable the callback so it doesn't run again. tim->callback = mp_const_none; __HAL_TIM_DISABLE_IT(&tim->tim, TIM_IT_UPDATE); - printf("Uncaught exception in Timer(%lu) interrupt handler\n", tim->tim_id); + printf("Uncaught exception in Timer(" UINT_FMT ") interrupt handler\n", tim->tim_id); mp_obj_print_exception((mp_obj_t)nlr.ret_val); } gc_unlock(); |