From f443ff3ebc46708e3c552d549d55b6d52f9c93a7 Mon Sep 17 00:00:00 2001 From: "adam@algroup.co.uk" Date: Fri, 5 Mar 2010 23:39:07 +0000 Subject: [PATCH] fix id offset in hid simulate --- client/cmdlfhid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdlfhid.c b/client/cmdlfhid.c index 344662e1d..eb0d83a90 100644 --- a/client/cmdlfhid.c +++ b/client/cmdlfhid.c @@ -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);