mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-31 04:39:49 +08:00
CHG: 'lf visa2000 read' - with new STT, the need to find 192bits is not neeeded.
This commit is contained in:
parent
c840385eff
commit
371a40bf3e
1 changed files with 1 additions and 1 deletions
|
@ -698,7 +698,7 @@ int VikingDemod_AM(uint8_t *dest, size_t *size) {
|
|||
// by iceman
|
||||
// find Visa2000 preamble in already demoded data
|
||||
int Visa2kDemod_AM(uint8_t *dest, size_t *size) {
|
||||
if (*size < 96*2) return -1; //make sure buffer has data
|
||||
if (*size < 96) return -1; //make sure buffer has data
|
||||
size_t startIdx = 0;
|
||||
uint8_t preamble[] = {0,1,0,1,0,1,1,0,0,1,0,0,1,0,0,1,0,1,0,1,0,0,1,1,0,0,1,1,0,0,1,0};
|
||||
uint8_t errChk = preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx);
|
||||
|
|
Loading…
Reference in a new issue