Fix demod plot of data rawdemod --ab
This commit is contained in:
1 parent
67feca359f
commit
2e013c8d82
1 file changed
+3
@@ -695,6 +695,9 @@ int ASKbiphaseDemod(int offset, int clk, int invert, int maxErr, bool verbose) {
|
||||
return PM3_ESOFT;
|
||||
}
|
||||
|
||||
if (offset >= 1) {
|
||||
offset -= 1;
|
||||
}
|
||||
//success set DemodBuffer and return
|
||||
setDemodBuff(bs, size, 0);
|
||||
setClockGrid(clk, startIdx + clk * offset / 2);
|
||||
|
||||
Reference in new issue
Block a user