summaryrefslogtreecommitdiff
path: root/py/modmicropython.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/modmicropython.c')
-rw-r--r--py/modmicropython.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/modmicropython.c b/py/modmicropython.c
index c717926e6..bdb1e8b9b 100644
--- a/py/modmicropython.c
+++ b/py/modmicropython.c
@@ -81,10 +81,10 @@ mp_obj_t mp_micropython_mem_info(size_t n_args, const mp_obj_t *args) {
mp_printf(&mp_plat_print, "stack: " UINT_FMT "\n", mp_stack_usage());
#endif
#if MICROPY_ENABLE_GC
- gc_dump_info();
+ gc_dump_info(&mp_plat_print);
if (n_args == 1) {
// arg given means dump gc allocation table
- gc_dump_alloc_table();
+ gc_dump_alloc_table(&mp_plat_print);
}
#else
(void)n_args;