summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/rp2/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/rp2/main.c b/ports/rp2/main.c
index fdcdd90d4..c5b503749 100644
--- a/ports/rp2/main.c
+++ b/ports/rp2/main.c
@@ -234,7 +234,7 @@ void gc_collect(void) {
}
void nlr_jump_fail(void *val) {
- printf("FATAL: uncaught exception %p\n", val);
+ mp_printf(&mp_plat_print, "FATAL: uncaught exception %p\n", val);
mp_obj_print_exception(&mp_plat_print, MP_OBJ_FROM_PTR(val));
for (;;) {
__breakpoint();