]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/lfops.c
FIX: "lf sim" after changes to ticks timers on device side, there was a "starticks...
[proxmark3-svn] / armsrc / lfops.c
index c80700aeac8fcdc0c218fde12575c2b9debb8f87..642b193775a52e42f2f33657ce9adbdf75aa8be2 100644 (file)
@@ -393,6 +393,8 @@ void SimulateTagLowFrequency(int period, int gap, int ledcontrol)
        int i = 0;
        uint8_t *tab = BigBuf_get_addr();
 
        int i = 0;
        uint8_t *tab = BigBuf_get_addr();
 
+       StartTicks();
+
        FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT | FPGA_LF_EDGE_DETECT_READER_FIELD);
 
        AT91C_BASE_PIOA->PIO_PER = GPIO_SSC_DOUT | GPIO_SSC_CLK;
        FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT | FPGA_LF_EDGE_DETECT_READER_FIELD);
 
        AT91C_BASE_PIOA->PIO_PER = GPIO_SSC_DOUT | GPIO_SSC_CLK;
Impressum, Datenschutz