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);