From 3556e45711c3b7ec712748d013e678d035185bdd Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Tue, 7 Oct 2014 00:50:20 -0700 Subject: Allow real memory errors (from locked gc) to be reported with traceback. --- stmhal/printf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stmhal/printf.c') diff --git a/stmhal/printf.c b/stmhal/printf.c index 86b756f7d..137189b94 100644 --- a/stmhal/printf.c +++ b/stmhal/printf.c @@ -67,8 +67,9 @@ int vprintf(const char *fmt, va_list ap) { } #if MICROPY_DEBUG_PRINTERS +mp_uint_t mp_verbose_flag = 1; + int DEBUG_printf(const char *fmt, ...) { - (void)stream; va_list ap; va_start(ap, fmt); int ret = pfenv_vprintf(&pfenv_stdout, fmt, ap); -- cgit v1.2.3