mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-08 17:18:10 +08:00
lf fdx demod - less strick len check
This commit is contained in:
parent
d316d96e04
commit
957a1a8bf3
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@ int detectFDXB(uint8_t *dest, size_t *size) {
|
|||
uint8_t preamble[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1};
|
||||
if (!preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx))
|
||||
return -2; //preamble not found
|
||||
if (*size != 128) return -3; //wrong demoded size
|
||||
if (*size < 128) return -3; //wrong demoded size
|
||||
//return start position
|
||||
return (int)startIdx;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue