summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/printf.c')
-rw-r--r--stmhal/printf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stmhal/printf.c b/stmhal/printf.c
index 86b756f7d4..137189b94d 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);