From 2941d5c714fc7e5ada791b52f712f758ec120fa0 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 16 Apr 2015 21:44:52 +0100 Subject: [PATCH] qemu-arm: Get compiling again with recent changes to print framework. --- qemu-arm/main.c | 2 +- qemu-arm/test_main.c | 2 +- 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: