From 382223b9a93ea4dbca25f65b3caa79a0b1d4dd35 Mon Sep 17 00:00:00 2001 From: "dn337t@gmail.com" Date: Fri, 18 May 2012 09:07:39 +0000 Subject: [PATCH] fixed offset in 'hf 15 cmd read' to avoid losing the first octet/byte --- client/cmdhf15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhf15.c b/client/cmdhf15.c index d3d97681..29612c30 100644 --- a/client/cmdhf15.c +++ b/client/cmdhf15.c @@ -668,7 +668,7 @@ int CmdHF15CmdRead(const char *Cmd) { sprintf(output+strlen(output),"%02hX ",recv[i]); } strcat(output," "); - for ( int i=2; iarg[0]-2; i++) { + for ( int i=1; iarg[0]-2; i++) { sprintf(output+strlen(output),"%c",recv[i]>31 && recv[i]<127?recv[i]:'.'); } PrintAndLog("%s",output); -- 2.39.5