Skip to content

Commit 2941d5c

Browse files
committed
qemu-arm: Get compiling again with recent changes to print framework.
1 parent a86d40c commit 2941d5c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

qemu-arm/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void do_str(const char *src) {
2727
nlr_pop();
2828
} else {
2929
// uncaught exception
30-
mp_obj_print_exception(&mp_extern_printf_wrapper, (mp_obj_t)nlr.ret_val);
30+
mp_obj_print_exception(&mp_plat_print, (mp_obj_t)nlr.ret_val);
3131
}
3232
}
3333

qemu-arm/test_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ inline void do_str(const char *src) {
3838
tinytest_set_test_skipped_();
3939
return;
4040
}
41-
mp_obj_print_exception(&mp_extern_printf_wrapper, exc);
41+
mp_obj_print_exception(&mp_plat_print, exc);
4242
tt_abort_msg("Uncaught exception");
4343
}
4444
end:

0 commit comments

Comments
 (0)