From 91448a6bb1ee26c740f0e53d6bd0f0e84b30608c Mon Sep 17 00:00:00 2001 From: IhorNehrutsa <70886343+IhorNehrutsa@users.noreply.github.com> Date: Tue, 18 Jul 2023 07:30:06 +0300 Subject: [PATCH] Update mpprint.h --- py/mpprint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/mpprint.h b/py/mpprint.h index 6b8d2821ed80..be5ad6021e26 100755 --- a/py/mpprint.h +++ b/py/mpprint.h @@ -79,8 +79,6 @@ int mp_printf(const mp_print_t *print, const char *fmt, ...); int mp_vprintf(const mp_print_t *print, const char *fmt, va_list args); #endif -#endif // MICROPY_INCLUDED_PY_MPPRINT_H - #if defined(MP_PRN_LEVEL) && (MP_PRN_LEVEL > 0) // Debug messages during code developing with MP_PRN(level, ...) & MP_PRN_LEVEL. // An approximate hierarchy of debug levels MP_PRN_LEVEL is: @@ -129,3 +127,5 @@ void foo() { // Then add MP_PRN(3, ...) and when gets too much messages then change some messages to the next level MP_PRN(4, ...), or MP_PRN(2, ...) etc. // Then you may change MP_PRN_LEVEL to 2(reduce printing), and finally to 0(supress printing). */ + +#endif // MICROPY_INCLUDED_PY_MPPRINT_H