mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
HF_COLIN: HF field off and sleep between polls
This commit is contained in:
parent
6540b4561c
commit
cdd39f3ac3
1 changed files with 3 additions and 7 deletions
|
@ -484,22 +484,18 @@ failtag:
|
||||||
iso14443a_setup(FPGA_HF_ISO14443A_READER_LISTEN);
|
iso14443a_setup(FPGA_HF_ISO14443A_READER_LISTEN);
|
||||||
SpinOff(50);
|
SpinOff(50);
|
||||||
LED_A_ON();
|
LED_A_ON();
|
||||||
uint8_t ticker = 0;
|
|
||||||
|
|
||||||
while (!iso14443a_select_card(cjuid, &p_card, &cjcuid, true, 0, true)) {
|
while (!iso14443a_select_card(cjuid, &p_card, &cjcuid, true, 0, true)) {
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
|
|
||||||
ticker++;
|
|
||||||
if (ticker % 64 == 0) {
|
|
||||||
LED_A_INV();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (BUTTON_HELD(10) == BUTTON_HOLD) {
|
if (BUTTON_HELD(10) == BUTTON_HOLD) {
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
DbprintfEx(FLAG_NEWLINE, "\t\t\t[ READING FLASH ]");
|
DbprintfEx(FLAG_NEWLINE, "\t\t\t[ READING FLASH ]");
|
||||||
ReadLastTagFromFlash();
|
ReadLastTagFromFlash();
|
||||||
goto readysim;
|
goto readysim;
|
||||||
}
|
}
|
||||||
|
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||||
|
SpinDelay(500);
|
||||||
|
LED_A_INV();
|
||||||
}
|
}
|
||||||
|
|
||||||
SpinOff(50);
|
SpinOff(50);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue