FIX: playing with some delays.

This commit is contained in:
iceman1001 2017-07-11 17:40:29 +02:00
commit cdc0f15104
9 changed files with 21 additions and 14 deletions

View file

@ -400,9 +400,9 @@ void SimulateTagLowFrequency(int period, int gap, int ledcontrol)
int i = 0;
uint8_t *buf = BigBuf_get_addr();
//FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT);
FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT | FPGA_LF_EDGE_DETECT_TOGGLE_MODE );
SpinDelay(20);
// set frequency, get values from 'lf config' command
sample_config *sc = getSamplingConfig();