mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 14:23:50 -07:00
lax size restrictions
This commit is contained in:
parent
15de3f14a9
commit
508d33f97b
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ int detectPyramid(uint8_t *dest, size_t *size, int *waveStartIdx) {
|
||||||
return -4; //preamble not found
|
return -4; //preamble not found
|
||||||
|
|
||||||
// wrong size? (between to preambles)
|
// wrong size? (between to preambles)
|
||||||
if (*size != 128) return -5;
|
if (*size < 128) return -5;
|
||||||
|
|
||||||
return (int)startIdx;
|
return (int)startIdx;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue