Skip to content

Commit

Permalink
FIX: 'lf simulate' - wrong fix, the simulation doesn't work very well…
Browse files Browse the repository at this point in the history
…, but now it looks better...
  • Loading branch information
iceman1001 committed Jul 28, 2017
1 parent 02983ae commit 2085508
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion armsrc/lfops.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,8 @@ void SimulateTagLowFrequency(int period, int gap, int ledcontrol)
int i = 0;
uint8_t *buf = BigBuf_get_addr();

FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT | FPGA_LF_EDGE_DETECT_TOGGLE_MODE );
//FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT | FPGA_LF_EDGE_DETECT_TOGGLE_MODE );
FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT);
SpinDelay(20);

// set frequency, get values from 'lf config' command
Expand Down

0 comments on commit 2085508

Please sign in to comment.