diff options
| author | Damien George <damien@micropython.org> | 2023-03-09 13:50:21 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-03-10 10:58:10 +1100 |
| commit | b3c8ab37ec86d19277e9d1dd10b5741ab93022ed (patch) | |
| tree | ff7acfeb4f971ff6682538bf72d50c9610c203ca /ports/zephyr/main.c | |
| parent | f450e94ba03a22cafc38d50f69e8af1c1599c401 (diff) | |
py/gc: Make gc_dump_info/gc_dump_alloc_table take a printer as argument.
So that callers can redirect the output if needed.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/zephyr/main.c')
| -rw-r--r-- | ports/zephyr/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/zephyr/main.c b/ports/zephyr/main.c index 869449e7d..a2dfb1660 100644 --- a/ports/zephyr/main.c +++ b/ports/zephyr/main.c @@ -186,7 +186,6 @@ void gc_collect(void) { gc_collect_start(); gc_collect_root(&dummy, ((mp_uint_t)MP_STATE_THREAD(stack_top) - (mp_uint_t)&dummy) / sizeof(mp_uint_t)); gc_collect_end(); - // gc_dump_info(); } #if !MICROPY_READER_VFS |
