From b3cc5f298707e54bd5c6c8e98f5d13a130baa77c Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Thu, 29 Jan 2015 19:58:46 +0100 Subject: [PATCH] Reverted erroneous commit from bigbuf-rework --- armsrc/iclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/iclass.c b/armsrc/iclass.c index 4436602c..1a375118 100644 --- a/armsrc/iclass.c +++ b/armsrc/iclass.c @@ -1085,8 +1085,8 @@ int doIClassSimulation(uint8_t csn[], int breakAfterMacReceived, uint8_t *reader int resp3Len; // e-Purse - // 144: Takes 16 bytes for SOF/EOF and 8 * 16 = 128 bytes (2 bytes/bit) - uint8_t *resp4 = BigBuf_malloc(150); + // 18: Takes 2 bytes for SOF/EOF and 8 * 2 = 16 bytes (2 bytes/bit) + uint8_t *resp4 = BigBuf_malloc(20); int resp4Len; uint8_t *receivedCmd = BigBuf_malloc(MAX_FRAME_SIZE); -- 2.39.2