mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
CHG: lowered the timout again, but re-added the spindelay since 14a requires 5ms powerup before entering the idle-state where tag starts to listen.
CHG: fix the ticks compare xx > 1 into xx >= 1
This commit is contained in:
parent
93b7aa8f88
commit
d5bded10e2
2 changed files with 4 additions and 2 deletions
|
@ -2001,6 +2001,8 @@ void iso14443a_setup(uint8_t fpga_minor_mode) {
|
|||
LED_D_ON();
|
||||
|
||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_HF_ISO14443A | fpga_minor_mode);
|
||||
|
||||
SpinDelay(20);
|
||||
|
||||
// Start the timer
|
||||
StartCountSspClk();
|
||||
|
@ -2009,7 +2011,7 @@ void iso14443a_setup(uint8_t fpga_minor_mode) {
|
|||
DemodReset();
|
||||
UartReset();
|
||||
NextTransferTime = 2 * DELAY_ARM2AIR_AS_READER;
|
||||
iso14a_set_timeout(20*106); // 20ms default
|
||||
iso14a_set_timeout(10*106); // 20ms default
|
||||
}
|
||||
|
||||
int iso14_apdu(uint8_t *cmd, uint16_t cmd_len, void *data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue