Removed wrong size-count, sizeof(bigbuf) would always return 40000 in lfops
This commit is contained in:
@@ -793,12 +793,9 @@ void CmdIOdemodFSK(int findone, int *high, int *low, int ledcontrol)
|
|||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
if (ledcontrol) LED_A_ON();
|
if (ledcontrol) LED_A_ON();
|
||||||
DoAcquisition125k_internal(-1,true);
|
DoAcquisition125k_internal(-1,true);
|
||||||
size = sizeof(BigBuf);
|
|
||||||
//make sure buffer has data
|
|
||||||
if (size < 2000) continue;
|
|
||||||
//fskdemod and get start index
|
//fskdemod and get start index
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
idx = IOdemodFSK(dest,size);
|
idx = IOdemodFSK(dest,sizeof(BigBuf));
|
||||||
if (idx>0){
|
if (idx>0){
|
||||||
//valid tag found
|
//valid tag found
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user