LF t55xx and LF em4x commands now should manchester decode data. However t55xx can have other settings and different encodings.

This commit is contained in:
iceman1001
2014-09-16 13:56:06 +02:00
parent 35147d51e3
commit b44e523300
9 changed files with 351 additions and 242 deletions

View File

@@ -588,13 +588,16 @@ int CmdManchesterDemod(const char *Cmd)
}
}
PrintAndLog("Clock: %d", clock);
/* If we're not working with 1/0s, demod based off clock */
if (high != 1)
{
PrintAndLog("Entering path A");
bit = 0; /* We assume the 1st bit is zero, it may not be
* the case: this routine (I think) has an init problem.
* Ed.
*/
*/
for (; i < (int)(GraphTraceLen / clock); i++)
{
hithigh = 0;