X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/d66d48434751ea6d2f593a213f29d2282485ecde..ada339a10f1dbe7694ae92393271a9e156fe9ec4:/client/cmddata.c diff --git a/client/cmddata.c b/client/cmddata.c index 0bd8a7a9..e6e4dc0a 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -520,6 +520,7 @@ int CmdBiphaseDecodeRaw(const char *Cmd) PrintAndLog("Biphase Decoded using offset: %d - # errors:%d - data:",offset,errCnt); printBitStream(BitStream, size); PrintAndLog("\nif bitstream does not look right try offset=1"); + if (offset == 1) setDemodBuf(DemodBuffer,DemodBufferLen-1,1); //remove first bit from raw demod return 1; } @@ -534,7 +535,7 @@ void setBiphaseDemodBuf(uint8_t *BitStream, size_t size) return; } for (size_t idx=0; idx