Skip to content

Commit

Permalink
Update mpprint.h
Browse files Browse the repository at this point in the history
  • Loading branch information
IhorNehrutsa committed Jul 18, 2023
1 parent eb43c44 commit 91448a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/mpprint.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 91448a6

Please sign in to comment.