We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a56912 commit 4892e4cCopy full SHA for 4892e4c
1 file changed
lib/utils/printf.c
@@ -59,7 +59,7 @@ int vprintf(const char *fmt, va_list ap) {
59
int DEBUG_printf(const char *fmt, ...) {
60
va_list ap;
61
va_start(ap, fmt);
62
- #if MICROPY_DEBUG_STDERR
+ #if defined(MICROPY_DEBUG_STDERR) && MICROPY_DEBUG_STDERR
63
// Printing debug to stderr may give a chance tests which
64
// check stdout to pass, etc.
65
extern const mp_print_t mp_stderr_print;
0 commit comments