mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-20 20:18:17 +08:00
CHG: 'lf noralsy read' - new STT doesn't need so many bits.
This commit is contained in:
parent
371a40bf3e
commit
7d2692658b
1 changed files with 1 additions and 1 deletions
|
@ -710,7 +710,7 @@ int Visa2kDemod_AM(uint8_t *dest, size_t *size) {
|
||||||
// by iceman
|
// by iceman
|
||||||
// find Noralsy preamble in already demoded data
|
// find Noralsy preamble in already demoded data
|
||||||
int NoralsyDemod_AM(uint8_t *dest, size_t *size) {
|
int NoralsyDemod_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;
|
size_t startIdx = 0;
|
||||||
uint8_t preamble[] = {1,0,1,1,1,0,1,1,0,0,0,0};
|
uint8_t preamble[] = {1,0,1,1,1,0,1,1,0,0,0,0};
|
||||||
uint8_t errChk = preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx);
|
uint8_t errChk = preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx);
|
||||||
|
|
Loading…
Add table
Reference in a new issue