aboutsummaryrefslogtreecommitdiff
path: root/py/qstr.c
diff options
context:
space:
mode:
authorStefan Naumann <me@stefannaumann.de>2017-07-24 18:55:14 +0200
committerDamien George <damien.p.george@gmail.com>2017-08-15 11:53:36 +1000
commitace9fb54053c29574bdf81ffacc5ddcf9d4b45d9 (patch)
treef3358fcd6ebdc11f632b822d73bb70bd58526de3 /py/qstr.c
parenta14ce77b28146526661c79c89b2e6ff6837c2bb0 (diff)
py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE.
It enables all the DEBUG_printf outputs in the py/ source code.
Diffstat (limited to 'py/qstr.c')
-rw-r--r--py/qstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/qstr.c b/py/qstr.c
index fdb38f1de..95c9b6835 100644
--- a/py/qstr.c
+++ b/py/qstr.c
@@ -36,7 +36,7 @@
// ultimately we will replace this with a static hash table of some kind
// also probably need to include the length in the string data, to allow null bytes in the string
-#if 0 // print debugging info
+#if MICROPY_DEBUG_VERBOSE // print debugging info
#define DEBUG_printf DEBUG_printf
#else // don't print debugging info
#define DEBUG_printf(...) (void)0