mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-24 03:55:44 +00:00
fix(core): don't invoke dump_meminfo_json
on emulator
[no changelog]
This commit is contained in:
parent
566b69fb24
commit
f4328acfd6
@ -284,7 +284,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_0(mod_trezorutils_estimate_unused_stack_obj,
|
||||
#if MICROPY_OOM_CALLBACK
|
||||
static void gc_oom_callback(void) {
|
||||
gc_dump_info();
|
||||
#if BLOCK_ON_VCP || TREZOR_EMULATOR
|
||||
#if BLOCK_ON_VCP
|
||||
dump_meminfo_json(NULL); // dump to stdout
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user