fix mandemod initialisation and add Transit tag trace

This commit is contained in:
adam@algroup.co.uk 2009-09-10 15:12:20 +00:00
parent ccb6ae9169
commit ac86b65681
3 changed files with 40007 additions and 1 deletions

View file

@ -10,3 +10,4 @@ indala-00002-12345678-1A: Indala credit-card style card
homeagain.pm3: HomeAgain animal (cat) tag - ID 985121004515220
homeagain1600.pm3: HomeAgain animal (cat) tag - ID 985121004515220
keri.pm3: Keri PSK-3 Key Ring tag (back of tag: 1460 3411)
Transit999-best.pm3: Transit 999 format (UID 99531670)

40000
traces/Transit999-best.pm3 Normal file

File diff suppressed because it is too large Load diff

View file

@ -2532,7 +2532,12 @@ static void Cmdmanchesterdemod(char *str) {
/* Detect first transition */
/* Lo-Hi (arbitrary) */
for (i = 0; i < GraphTraceLen; i++)
/* skip to the first high */
for (i= 0; i < GraphTraceLen; i++)
if(GraphBuffer[i] == high)
break;
/* now look for the first low */
for (; i < GraphTraceLen; i++)
{
if (GraphBuffer[i] == low)
{