CHG: added the ASK/Biphase demod of signal for NEDAP demod.

ADD: 'LF SEARCH'  now also checks for NEDAP.
This commit is contained in:
iceman1001 committed 2016-05-02 14:06:08 +02:00
1 parent 56bbb25a41
commit 96faed2124
3 files changed
+13 -1

No files matched your search

+1
View File
@@ -768,6 +768,7 @@ int PyramiddemodFSK(uint8_t *dest, size_t *size)
int NedapDemod(uint8_t *dest, size_t *size) {
//make sure buffer has data
if (*size < 128) return -3;
size_t startIdx = 0;
uint8_t preamble[] = {1,1,1,1,1,1,1,1,1,0};
uint8_t errChk = preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx);