From 76d982ef343dcadd35355aed9c568984c850fb7b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 13 Jan 2014 19:19:16 +0200 Subject: type->print(): Distinguish str() and repr() variety by passing extra param. --- stm/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stm/timer.c') diff --git a/stm/timer.c b/stm/timer.c index c665a461d0..062f8c689e 100644 --- a/stm/timer.c +++ b/stm/timer.c @@ -89,7 +89,7 @@ void timer_interrupt(void) { } else { // uncaught exception printf("exception in timer interrupt\n"); - mp_obj_print((mp_obj_t)nlr.ret_val); + mp_obj_print((mp_obj_t)nlr.ret_val, PRINT_REPR); printf("\n"); } } -- cgit v1.2.3