FIX: 'lf simulate' - wrong fix, the simulation doesn't work very well, but now it looks better...

This commit is contained in:
iceman1001 2017-07-29 00:34:21 +02:00
parent 02983ae6ee
commit 208550823d

View file

@ -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