diff options
Diffstat (limited to 'py/runtime.c')
-rw-r--r-- | py/runtime.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/py/runtime.c b/py/runtime.c index fbcc983ab7..e0d76a517a 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -215,9 +215,8 @@ void rt_assign_byte_code(int unique_code_id, byte *code, uint len, int n_args, i DEBUG_printf(" %02x", code[i]); } DEBUG_printf("\n"); -#if MICROPY_SHOW_BC - extern void mp_show_byte_code(const byte *code, int len); - mp_show_byte_code(code, len); +#if MICROPY_DEBUG_PRINTERS + mp_byte_code_print(code, len); #endif #ifdef WRITE_CODE |