From 1daa1226fd76500a2e0be384195f30229bf7dfef Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 4 Oct 2016 21:41:21 +0200 Subject: [PATCH] CHG: reading a complete MIM1024 takes about 2.8sec. This timeout is changed to 3sec now. --- client/cmdhflegic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhflegic.c b/client/cmdhflegic.c index 13313866..4f06b96a 100644 --- a/client/cmdhflegic.c +++ b/client/cmdhflegic.c @@ -417,7 +417,7 @@ int CmdLegicRFRead(const char *Cmd) { clearCommandBuffer(); SendCommand(&c); UsbCommand resp; - if (WaitForResponseTimeout(CMD_ACK, &resp, 2500)) { + if (WaitForResponseTimeout(CMD_ACK, &resp, 3000)) { uint8_t isOK = resp.arg[0] & 0xFF; uint16_t readlen = resp.arg[1]; if ( isOK ) { -- 2.39.2