]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: added a quitting message
authoriceman1001 <iceman@iuse.se>
Wed, 19 Oct 2016 23:13:18 +0000 (01:13 +0200)
committericeman1001 <iceman@iuse.se>
Wed, 19 Oct 2016 23:13:18 +0000 (01:13 +0200)
armsrc/lfops.c

index 5f980cd5dffc799beb29f9d2a5ed418978cb454e..ed5247d07778cdd31e6b722a9314c943cd5ad0bb 100644 (file)
@@ -397,7 +397,8 @@ void SimulateTagLowFrequency(int period, int gap, int ledcontrol)
        int i = 0;
        uint8_t *buf = BigBuf_get_addr();
 
        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;
 
        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();
        FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
        StopTicks();
        LED_D_OFF();
+       DbpString("Simulation stopped");
        return; 
 }
 
        return; 
 }
 
Impressum, Datenschutz