]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
fix id offset in hid simulate
authoradam@algroup.co.uk <adam@algroup.co.uk@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 5 Mar 2010 23:39:07 +0000 (23:39 +0000)
committeradam@algroup.co.uk <adam@algroup.co.uk@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 5 Mar 2010 23:39:07 +0000 (23:39 +0000)
client/cmdlfhid.c

index 344662e1dd23f61609f09676c8b12e7aa675e26e..eb0d83a906e32b1dbc6d4c7d3f4b013e8fcb503d 100644 (file)
@@ -46,7 +46,7 @@ int CmdHIDDemodFSK(const char *Cmd)
 int CmdHIDSim(const char *Cmd)
 {
   unsigned int hi = 0, lo = 0;
-  int n = 0, i = 0;
+  int n = 0, i = 1;
 
   while (sscanf(&Cmd[i++], "%1x", &n ) == 1) {
     hi = (hi << 4) | (lo >> 28);
Impressum, Datenschutz