mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-09 09:39:16 +08:00
style
This commit is contained in:
parent
17f5df152b
commit
433f84ca0d
1 changed files with 3 additions and 9 deletions
|
@ -12,25 +12,19 @@ size_t DemodPCF7931(uint8_t **outBlocks) {
|
||||||
if (GraphTraceLen > 18000)
|
if (GraphTraceLen > 18000)
|
||||||
GraphTraceLen = 18000;
|
GraphTraceLen = 18000;
|
||||||
|
|
||||||
int i, j, lastval, bitidx, half_switch;
|
int i = 2, j, lastval, bitidx, half_switch;
|
||||||
int clock = 64;
|
int clock = 64;
|
||||||
int tolerance = clock / 8;
|
int tolerance = clock / 8;
|
||||||
int pmc, block_done;
|
int pmc, block_done;
|
||||||
int lc, warnings = 0;
|
int lc, warnings = 0;
|
||||||
size_t num_blocks = 0;
|
size_t num_blocks = 0;
|
||||||
int lmin = 128, lmax = 128;
|
int lmin = 64, lmax = 192;
|
||||||
uint8_t dir;
|
uint8_t dir;
|
||||||
//clear read buffer
|
|
||||||
BigBuf_Clear_keep_EM();
|
|
||||||
|
|
||||||
|
BigBuf_Clear_keep_EM();
|
||||||
LFSetupFPGAForADC(95, true);
|
LFSetupFPGAForADC(95, true);
|
||||||
DoAcquisition_default(0, true);
|
DoAcquisition_default(0, true);
|
||||||
|
|
||||||
lmin = 64;
|
|
||||||
lmax = 192;
|
|
||||||
|
|
||||||
i = 2;
|
|
||||||
|
|
||||||
/* Find first local max/min */
|
/* Find first local max/min */
|
||||||
if (dest[1] > dest[0]) {
|
if (dest[1] > dest[0]) {
|
||||||
while (i < GraphTraceLen) {
|
while (i < GraphTraceLen) {
|
||||||
|
|
Loading…
Reference in a new issue