mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Viva la revolucion
This commit is contained in:
parent
8bfc5c1b47
commit
be15ad7fec
53 changed files with 861 additions and 870 deletions
|
@ -335,7 +335,7 @@ bool lf_read(bool silent, uint32_t samples) {
|
|||
clearCommandBuffer();
|
||||
SendCommand(&c);
|
||||
|
||||
UsbCommand resp;
|
||||
UsbReplyNG resp;
|
||||
if (g_lf_threshold_set) {
|
||||
WaitForResponse(CMD_ACK, &resp);
|
||||
} else {
|
||||
|
@ -344,8 +344,8 @@ bool lf_read(bool silent, uint32_t samples) {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
// resp.arg[0] is bits read not bytes read.
|
||||
getSamples(resp.arg[0] / 8, silent);
|
||||
// resp.core.old.arg[0] is bits read not bytes read.
|
||||
getSamples(resp.core.old.arg[0] / 8, silent);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue