mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-29 11:52:59 +08:00
fix id offset in hid simulate
This commit is contained in:
parent
72934aa313
commit
f443ff3ebc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue