summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-04-16 21:44:52 +0100
committerDamien George <damien.p.george@gmail.com>2015-04-16 21:44:52 +0100
commit2941d5c714fc7e5ada791b52f712f758ec120fa0 (patch)
treeeb9fc94e3ef2d4f4d0ff2717d37dac72185c8f72
parenta86d40ccd437fe0235c09426ef6d552b968d86e8 (diff)
downloadmicropython-2941d5c714fc7e5ada791b52f712f758ec120fa0.tar.gz
micropython-2941d5c714fc7e5ada791b52f712f758ec120fa0.zip
qemu-arm: Get compiling again with recent changes to print framework.
-rw-r--r--qemu-arm/main.c2
-rw-r--r--qemu-arm/test_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/qemu-arm/main.c b/qemu-arm/main.c
index 1673c82afd..0507744126 100644
--- a/qemu-arm/main.c
+++ b/qemu-arm/main.c
@@ -27,7 +27,7 @@ void do_str(const char *src) {
nlr_pop();
} else {
// uncaught exception
- mp_obj_print_exception(&mp_extern_printf_wrapper, (mp_obj_t)nlr.ret_val);
+ mp_obj_print_exception(&mp_plat_print, (mp_obj_t)nlr.ret_val);
}
}
diff --git a/qemu-arm/test_main.c b/qemu-arm/test_main.c
index a529133532..1d699d3e25 100644
--- a/qemu-arm/test_main.c
+++ b/qemu-arm/test_main.c
@@ -38,7 +38,7 @@ inline void do_str(const char *src) {
tinytest_set_test_skipped_();
return;
}
- mp_obj_print_exception(&mp_extern_printf_wrapper, exc);
+ mp_obj_print_exception(&mp_plat_print, exc);
tt_abort_msg("Uncaught exception");
}
end: