mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 04:49:38 -07:00
fixed bug in ASKbiphaseDemod()
This commit is contained in:
parent
9c1d59ce69
commit
7361a18f7a
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ int CmdBiphaseDecodeRaw(const char *Cmd)
|
||||||
int ASKbiphaseDemod(const char *Cmd, bool verbose)
|
int ASKbiphaseDemod(const char *Cmd, bool verbose)
|
||||||
{
|
{
|
||||||
//ask raw demod GraphBuffer first
|
//ask raw demod GraphBuffer first
|
||||||
int offset=0, clk=0, invert=0, maxErr=0;
|
int offset=0, clk=0, invert=0, maxErr=100;
|
||||||
sscanf(Cmd, "%i %i %i %i", &offset, &clk, &invert, &maxErr);
|
sscanf(Cmd, "%i %i %i %i", &offset, &clk, &invert, &maxErr);
|
||||||
|
|
||||||
uint8_t BitStream[MAX_GRAPH_TRACE_LEN];
|
uint8_t BitStream[MAX_GRAPH_TRACE_LEN];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue