mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Removed wrong size-count, sizeof(bigbuf) would always return 40000 in lfops
This commit is contained in:
parent
45dda9fcd7
commit
6ca4c6463e
1 changed files with 2 additions and 5 deletions
|
@ -793,12 +793,9 @@ void CmdIOdemodFSK(int findone, int *high, int *low, int ledcontrol)
|
|||
WDT_HIT();
|
||||
if (ledcontrol) LED_A_ON();
|
||||
DoAcquisition125k_internal(-1,true);
|
||||
size = sizeof(BigBuf);
|
||||
//make sure buffer has data
|
||||
if (size < 2000) continue;
|
||||
//fskdemod and get start index
|
||||
WDT_HIT();
|
||||
idx = IOdemodFSK(dest,size);
|
||||
idx = IOdemodFSK(dest,sizeof(BigBuf));
|
||||
if (idx>0){
|
||||
//valid tag found
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue