mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-02-24 23:54:42 +08:00
fix lf get sample bits vs bytes bug
This commit is contained in:
parent
26ea310f0e
commit
c68f5fc7ec
1 changed files with 2 additions and 1 deletions
|
@ -350,7 +350,8 @@ bool lf_read(bool silent, uint32_t samples) {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
getSamples(resp.arg[0], silent);
|
||||
// resp.arg[0] is bits read not bytes read.
|
||||
getSamples(resp.arg[0]/8, silent);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue