From dfdf4e701fd1a905595c9f09035d805cc5e6c5e2 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 10 Dec 2017 11:18:44 +0100 Subject: [PATCH] chg: testing to reinstate the auth-timeout --- armsrc/mifarecmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/mifarecmd.c b/armsrc/mifarecmd.c index 68f803e7e..219692d36 100644 --- a/armsrc/mifarecmd.c +++ b/armsrc/mifarecmd.c @@ -1107,7 +1107,7 @@ uint8_t chkKey( struct chk_t *c ) { } res = mifare_classic_authex(c->pcs, c->cuid, c->block, c->keyType, c->key, AUTH_FIRST, NULL, NULL); - //CHK_TIMEOUT(); + CHK_TIMEOUT(); // if successfull auth, send HALT if ( !res ) @@ -1426,7 +1426,7 @@ void MifareChkKeys(uint16_t arg0, uint8_t arg1, uint8_t arg2, uint8_t *datain) { key = bytes_to_num(datain + i * 6, 6); if (mifare_classic_auth(pcs, cuid, blockNo, keyType, key, AUTH_FIRST)) { - //CHK_TIMEOUT(); + CHK_TIMEOUT(); continue; } else {