mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Replace isNoise by computeSignalProperties and removeSignalOffset
This commit is contained in:
parent
1f0c1dff5e
commit
4160e32b0a
7 changed files with 92 additions and 129 deletions
|
@ -204,8 +204,9 @@ uint32_t DoAcquisition(uint8_t decimation, uint32_t bits_per_sample, bool averag
|
|||
dest[0], dest[1], dest[2], dest[3], dest[4], dest[5], dest[6], dest[7]);
|
||||
}
|
||||
|
||||
// Ensure that noise check is performed for any device-side processing
|
||||
isNoise(dest, bufsize);
|
||||
// Ensure that DC offset removal and noise check is performed for any device-side processing
|
||||
removeSignalOffset(dest, bufsize);
|
||||
computeSignalProperties(dest, bufsize);
|
||||
|
||||
return data.numbits;
|
||||
}
|
||||
|
@ -451,4 +452,4 @@ uint32_t doCotagAcquisitionManchester() {
|
|||
}
|
||||
}
|
||||
return sample_counter;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue