CHG: 'lf noralsy read' - new STT doesn't need so many bits.

This commit is contained in:
iceman1001 2017-01-20 22:20:47 +01:00
parent 371a40bf3e
commit 7d2692658b

View file

@ -710,7 +710,7 @@ int Visa2kDemod_AM(uint8_t *dest, size_t *size) {
// by iceman
// find Noralsy preamble in already demoded data
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;
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);