mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-22 15:16:19 +08:00
fix: rearrange it
This commit is contained in:
parent
17fcd8c24b
commit
a0e061fcd1
1 changed files with 7 additions and 4 deletions
|
@ -186,15 +186,18 @@ int CmdLFCommandRead(const char *Cmd) {
|
|||
}
|
||||
|
||||
int CmdFlexdemod(const char *Cmd) {
|
||||
#define LONG_WAIT 100
|
||||
|
||||
if ( GraphTraceLen < 0 )
|
||||
return 0;
|
||||
|
||||
#ifndef LONG_WAIT
|
||||
#define LONG_WAIT 100
|
||||
#endif
|
||||
int i, j, start, bit, sum, phase = 0;
|
||||
|
||||
int data[GraphTraceLen];
|
||||
memcpy(data, GraphBuffer, GraphTraceLen);
|
||||
|
||||
if ( GraphTraceLen < 0 )
|
||||
return 0;
|
||||
|
||||
size_t size = GraphTraceLen;
|
||||
|
||||
for (i = 0; i < GraphTraceLen; ++i)
|
||||
|
|
Loading…
Reference in a new issue