CHG: reading a complete MIM1024 takes about 2.8sec. This timeout is changed to 3sec now.

This commit is contained in:
iceman1001 2016-10-04 21:41:21 +02:00
commit 1daa1226fd

View file

@ -417,7 +417,7 @@ int CmdLegicRFRead(const char *Cmd) {
clearCommandBuffer(); clearCommandBuffer();
SendCommand(&c); SendCommand(&c);
UsbCommand resp; UsbCommand resp;
if (WaitForResponseTimeout(CMD_ACK, &resp, 2500)) { if (WaitForResponseTimeout(CMD_ACK, &resp, 3000)) {
uint8_t isOK = resp.arg[0] & 0xFF; uint8_t isOK = resp.arg[0] & 0xFF;
uint16_t readlen = resp.arg[1]; uint16_t readlen = resp.arg[1];
if ( isOK ) { if ( isOK ) {