From 208550823d745a14f37a97dcca061bf93417c517 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 29 Jul 2017 00:34:21 +0200 Subject: [PATCH] FIX: 'lf simulate' - wrong fix, the simulation doesn't work very well, but now it looks better... --- armsrc/lfops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/armsrc/lfops.c b/armsrc/lfops.c index 76e0147f0..8481c5d6f 100644 --- a/armsrc/lfops.c +++ b/armsrc/lfops.c @@ -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