Merge pull request #251 from marshmellow42/master

split fdx-b demod to its own file
This commit is contained in:
Iceman 2017-03-26 14:35:42 +02:00 committed by GitHub
commit d95878f802
7 changed files with 345 additions and 96 deletions

View file

@ -1703,6 +1703,8 @@ int FDXBdemodBI(uint8_t *dest, size_t *size) {
uint8_t errChk = preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx);
if (errChk == 0) return -2; //preamble not found
if (*size != 128) return -3; //wrong size for fdxb
//return start position
return (int)startIdx;
}