Fix demod plot of data biphasedecoderaw
This commit is contained in:
1 parent
dd085efa78
commit
67feca359f
1 file changed
+2
-6
@@ -661,12 +661,8 @@ static int CmdBiphaseDecodeRaw(const char *Cmd) {
|
||||
PrintAndLogEx(INFO, "Biphase decoded using offset %d%s", offset, (invert) ? "( inverted )" : "");
|
||||
PrintAndLogEx(INFO, "%s", sprint_bin_break(bits, size, 32));
|
||||
|
||||
//remove first bit from raw demod
|
||||
if (offset) {
|
||||
setDemodBuff(DemodBuffer, DemodBufferLen - offset, offset);
|
||||
}
|
||||
|
||||
setClockGrid(g_DemodClock, g_DemodStartIdx + g_DemodClock * offset / 2);
|
||||
setDemodBuff(bits, size, 0);
|
||||
setClockGrid(g_DemodClock * 2, g_DemodStartIdx + g_DemodClock * offset);
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user