diff --git a/src/apps/monero/diag.py b/src/apps/monero/diag.py index e964639b1..50de2687a 100644 --- a/src/apps/monero/diag.py +++ b/src/apps/monero/diag.py @@ -8,7 +8,6 @@ PREV_MEM = gc.mem_free() CUR_MES = 0 - def log_trace(x=None): log.debug( __name__, @@ -19,7 +18,6 @@ def log_trace(x=None): micropython.stack_use(), ) - def check_mem(x=""): global PREV_MEM, CUR_MES @@ -37,13 +35,11 @@ def check_mem(x=""): CUR_MES += 1 PREV_MEM = free - def retit(**kwargs): from trezor.messages.Failure import Failure return Failure(**kwargs) - async def diag(ctx, msg, **kwargs): log.debug(__name__, "----diagnostics") gc.collect()