mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-31 04:39:49 +08:00
FIX: "lf sim" after changes to ticks timers on device side, there was a "starticks" call missing, which lead to not having any timers which is a problem for the WaitUS call.
This commit is contained in:
parent
88f503735c
commit
4460be68c3
1 changed files with 2 additions and 0 deletions
|
@ -393,6 +393,8 @@ void SimulateTagLowFrequency(int period, int gap, int ledcontrol)
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue