From 7898d3b55f95c9af2fc049b9cae1bbf86b1dd739 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 18 Jan 2017 22:57:20 +0100 Subject: [PATCH] syntax sugar --- client/mifarehost.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/mifarehost.c b/client/mifarehost.c index b7cd3b59..f9e05807 100644 --- a/client/mifarehost.c +++ b/client/mifarehost.c @@ -250,15 +250,13 @@ int mfKeyBrute(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint64_t *resultk return found; } - // EMULATOR - int mfEmlGetMem(uint8_t *data, int blockNum, int blocksCount) { UsbCommand c = {CMD_MIFARE_EML_MEMGET, {blockNum, blocksCount, 0}}; clearCommandBuffer(); SendCommand(&c); UsbCommand resp; - if (!WaitForResponseTimeout(CMD_ACK,&resp,1500)) return 1; + if (!WaitForResponseTimeout(CMD_ACK, &resp, 1500)) return 1; memcpy(data, resp.d.asBytes, blocksCount * 16); return 0; } -- 2.39.5