mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
chg: unified code
This commit is contained in:
parent
d998602690
commit
6b9e5e0400
3 changed files with 4 additions and 7 deletions
|
@ -52,8 +52,7 @@ int detectPyramid(uint8_t *dest, size_t *size, int *waveStartIdx) {
|
|||
if (*size < 128*50) return -1;
|
||||
|
||||
//test samples are not just noise
|
||||
signal_t *sp = getSignalProperties();
|
||||
if (sp->isnoise) return -2;
|
||||
if (getSignalProperties()->isnoise) return -2;
|
||||
|
||||
// FSK demodulator RF/50 FSK 10,8
|
||||
*size = fskdemod(dest, *size, 50, 0, 10, 8, waveStartIdx); // pyramid fsk2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue