setDemodBuf(BitStream, 128, preambleIndex);
- // remove but don't verify parity. (pType = 2)
+ // remove marker bits (1's every 9th digit after preamble) (pType = 2)
size = removeParity(BitStream, preambleIndex + 11, 9, 2, 117);
- if ( size <= 103 ) {
+ if ( size != 104 ) {
if (g_debugMode) PrintAndLog("Error removeParity:: %d", size);
return 0;
}