mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-04 17:26:23 +00:00
fixup! feat(core): estimate workflow stack usage
This commit is contained in:
parent
1517fa80a3
commit
4313b788b1
@ -42,7 +42,7 @@
|
|||||||
#include <sec/secret.h>
|
#include <sec/secret.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !PYOPT && !defined(TREZOR_EMULATOR)
|
#if !PYOPT && LOG_STACK_USAGE
|
||||||
#include <sys/stack_utils.h>
|
#include <sys/stack_utils.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -275,7 +275,7 @@ STATIC mp_obj_t mod_trezorutils_estimate_unused_stack(void) {
|
|||||||
STATIC MP_DEFINE_CONST_FUN_OBJ_0(mod_trezorutils_estimate_unused_stack_obj,
|
STATIC MP_DEFINE_CONST_FUN_OBJ_0(mod_trezorutils_estimate_unused_stack_obj,
|
||||||
mod_trezorutils_estimate_unused_stack);
|
mod_trezorutils_estimate_unused_stack);
|
||||||
|
|
||||||
#endif // !PYOPT && !defined(TREZOR_EMULATOR)
|
#endif // !PYOPT && LOG_STACK_USAGE
|
||||||
|
|
||||||
/// def reboot_to_bootloader(
|
/// def reboot_to_bootloader(
|
||||||
/// boot_command : int = 0,
|
/// boot_command : int = 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user