From 19d71ffe77d599e20f68178ac5389edfd260dc28 Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Mon, 20 May 2024 16:37:13 +0200 Subject: [PATCH] Revert "Update client to reduce delay (no more slow speculos for Stax)" This reverts commit 186186ab914e2ade1b76fc9b1dcc434a20d79bb1. + new delay for stax/flex --- client/src/ledger_app_clients/ethereum/eip712/InputData.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/ledger_app_clients/ethereum/eip712/InputData.py b/client/src/ledger_app_clients/ethereum/eip712/InputData.py index 0227343..ee31b0a 100644 --- a/client/src/ledger_app_clients/ethereum/eip712/InputData.py +++ b/client/src/ledger_app_clients/ethereum/eip712/InputData.py @@ -332,7 +332,10 @@ def next_timeout(_signum: int, _frame): def enable_autonext(): - delay = 1/5 + if app_client._client.firmware.device in ("stax", "flex"): + delay = 1/3 + else: + delay = 1/4 signal.setitimer(signal.ITIMER_REAL, delay, delay)