summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstr.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-04-11 12:15:47 +0100
committerDamien George <damien.p.george@gmail.com>2015-04-16 14:30:16 +0000
commite72cda99fd5fc9e7c6476eb8574c4401d3ef9560 (patch)
treeee3a5877c307fcaec0724716423f9b619e162c70 /py/qstr.c
parent5ae5ec986ea5e14321f6c8091454c165c23b40c5 (diff)
downloadmicropython-e72cda99fd5fc9e7c6476eb8574c4401d3ef9560.tar.gz
micropython-e72cda99fd5fc9e7c6476eb8574c4401d3ef9560.zip
py: Convert occurrences of non-debug printf to mp_printf.
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 2d57f22221..b1ae6ac74c 100644
--- a/py/qstr.c
+++ b/py/qstr.c
@@ -235,7 +235,7 @@ void qstr_pool_info(mp_uint_t *n_pool, mp_uint_t *n_qstr, mp_uint_t *n_str_data_
void qstr_dump_data(void) {
for (qstr_pool_t *pool = MP_STATE_VM(last_pool); pool != NULL && pool != &const_pool; pool = pool->prev) {
for (const byte **q = pool->qstrs, **q_top = pool->qstrs + pool->len; q < q_top; q++) {
- printf("Q(%s)\n", Q_GET_DATA(*q));
+ mp_printf(&mp_plat_print, "Q(%s)\n", Q_GET_DATA(*q));
}
}
}