From 2017f321b7788cf425f95ec9a4dd93663827ba3b Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 25 Apr 2018 01:33:25 +0200 Subject: [PATCH] fix: memory issue, took all bigbuff --- armsrc/smartcard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/smartcard.c b/armsrc/smartcard.c index f5610318f..80ae475ed 100644 --- a/armsrc/smartcard.c +++ b/armsrc/smartcard.c @@ -438,7 +438,7 @@ static void SMART_CARD_ActivateInterface( void ) { static bool SMART_CARD_EstablishCommunications( void ) { // TODO: This functions implementation is not yet complete bool result = false; - uint8_t* answer = BigBuf_malloc(100); + uint8_t answer[100]; // Activate the interface SMART_CARD_ActivateInterface();