From: martin.holst@gmail.com Date: Sat, 11 May 2013 12:23:31 +0000 (+0000) Subject: Fixed a third issue where a buffer was filled with 0x44, affecting chinese cards... X-Git-Tag: v1.0.0~98 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/9836a77f974947916b8c2c9fc242d11b2fe04d76 Fixed a third issue where a buffer was filled with 0x44, affecting chinese cards-commands.(csetblk) --- diff --git a/armsrc/mifarecmd.c b/armsrc/mifarecmd.c index 62e5188b..a0e0b01f 100644 --- a/armsrc/mifarecmd.c +++ b/armsrc/mifarecmd.c @@ -863,8 +863,14 @@ void MifareCSetBlock(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datai // if (isOK) memcpy(ack.d.asBytes, uid, 4); // add trace trailer - memset(uid, 0x44, 4); - LogTrace(uid, 4, 0, 0, TRUE); + /** + * Removed by Martin, the uid is overwritten with 0x44, + * which can 't be intended. + * + * memset(uid, 0x44, 4); + * LogTrace(uid, 4, 0, 0, TRUE); + **/ + LED_B_ON(); cmd_send(CMD_ACK,isOK,0,0,uid,4);