From c50259b36a5a4b0178793064036ee39bce082920 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 20 Oct 2016 01:13:18 +0200 Subject: [PATCH] CHG: added a quitting message --- armsrc/lfops.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/armsrc/lfops.c b/armsrc/lfops.c index 5f980cd5..ed5247d0 100644 --- a/armsrc/lfops.c +++ b/armsrc/lfops.c @@ -397,7 +397,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_READER_FIELD); + //FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT | FPGA_LF_EDGE_DETECT_READER_FIELD); + FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT); AT91C_BASE_PIOA->PIO_PER = GPIO_SSC_DOUT | GPIO_SSC_CLK; AT91C_BASE_PIOA->PIO_OER = GPIO_SSC_DOUT; @@ -446,6 +447,7 @@ OUT: FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF); StopTicks(); LED_D_OFF(); + DbpString("Simulation stopped"); return; } -- 2.39.2