fix id offset in hid simulate

This commit is contained in:
adam@algroup.co.uk 2010-03-05 23:39:07 +00:00
parent 72934aa313
commit f443ff3ebc

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