avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Of course, I have a memory corruption, but I'm not able to fix it...


From: BERTRAND Joël
Subject: Re: Of course, I have a memory corruption, but I'm not able to fix it...
Date: Sat, 22 May 2021 17:44:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.7.1

Paweł Si a écrit :
> 
> sob., 22 maj 2021 o 09:49 BERTRAND Joël <joel.bertrand@systella.fr
> <mailto:joel.bertrand@systella.fr>> napisał(a):
> 
>             I'm not sure. In main() you will find :
> 
>             rfid_tag_t  tag;
>             iso14443a_anticol(0, &tag);
> 
> 
> I would remove this line (file iso14443a.c:244): 
> memset(&tag, 0, sizeof(tag));

        Runs better with :

        memset(tag, 0, sizeof(tag));

        I have used a library without verifications. And I have found another
error in header file :

ISO14443A_AC_SEL_CODE_CL2 should be equal to 0x95 !

        Thanks a lot,

        JB



reply via email to

[Prev in Thread] Current Thread [Next in Thread]