CHG: lowered the number of bytes collected for T55xxReadBlock. Was 12000 -> 7679

CHG: added some documentation about what arguments does.
CHG: 'data tune' - added flush after printf.
This commit is contained in:
iceman1001 2017-01-16 21:06:51 +01:00
commit 81b7e89434
6 changed files with 23 additions and 8 deletions

View file

@ -602,10 +602,11 @@ int HIDdemodFSK(uint8_t *dest, size_t *size, uint32_t *hi2, uint32_t *hi, uint32
*hi2 = (*hi2<<1)|(*hi>>31);
*hi = (*hi<<1)|(*lo>>31);
//Then, shift in a 0 or one into low
*lo <<= 1;
if (dest[idx] && !dest[idx+1]) // 1 0
*lo=(*lo<<1)|1;
*lo |= 1;
else // 0 1
*lo=(*lo<<1)|0;
*lo |= 0;
}
return (int)startIdx;
}