mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
chg: 'lf cmdread' - lowered the waiting times for antenna to power down / up
This commit is contained in:
parent
e6f51451aa
commit
229ce1a156
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ void ModThenAcquireRawAdcSamples125k(uint32_t delay_off, uint32_t period_0, uint
|
||||||
// Make sure the tag is reset
|
// Make sure the tag is reset
|
||||||
FpgaDownloadAndGo(FPGA_BITSTREAM_LF);
|
FpgaDownloadAndGo(FPGA_BITSTREAM_LF);
|
||||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||||
WaitMS(2500);
|
WaitMS(500);
|
||||||
|
|
||||||
// clear read buffer
|
// clear read buffer
|
||||||
BigBuf_Clear_keep_EM();
|
BigBuf_Clear_keep_EM();
|
||||||
|
@ -78,7 +78,7 @@ void ModThenAcquireRawAdcSamples125k(uint32_t delay_off, uint32_t period_0, uint
|
||||||
LFSetupFPGAForADC(sc->divisor, 1);
|
LFSetupFPGAForADC(sc->divisor, 1);
|
||||||
|
|
||||||
// little more time for the tag to fully power up
|
// little more time for the tag to fully power up
|
||||||
WaitMS(2000);
|
WaitMS(200);
|
||||||
|
|
||||||
// if delay_off = 0 then just bitbang 1 = antenna on 0 = off for respective periods.
|
// if delay_off = 0 then just bitbang 1 = antenna on 0 = off for respective periods.
|
||||||
bool bitbang = delay_off == 0;
|
bool bitbang = delay_off == 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue