From 5c84c4d8bbc90a16d27559d44d8c015b9e9637ee Mon Sep 17 00:00:00 2001 From: Conor Patrick Date: Tue, 29 Oct 2019 08:16:04 -0400 Subject: [PATCH] subsequent button presses do not need to wait long --- fido2/ctaphid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fido2/ctaphid.c b/fido2/ctaphid.c index f1e808c..7f17955 100644 --- a/fido2/ctaphid.c +++ b/fido2/ctaphid.c @@ -776,8 +776,8 @@ uint8_t ctaphid_custom_command(int len, CTAP_RESPONSE * ctap_resp, CTAPHID_WRITE // Ask for THREE button presses if (ctap_user_presence_test(8000) > 0) - if (ctap_user_presence_test(8000) > 0) - if (ctap_user_presence_test(8000) > 0) + if (ctap_user_presence_test(2000) > 0) + if (ctap_user_presence_test(2000) > 0) { ctap_load_external_keys(ctap_buffer + 4); param = ctap_buffer[3];