mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 14:13:42 -07:00
- Check button press when you have NOFIELD
- struct nonces_t as the same define client and arm, so mfkey is working
This commit is contained in:
parent
f2081c4356
commit
437d052b38
1 changed files with 5 additions and 1 deletions
|
@ -2359,6 +2359,7 @@ typedef struct {
|
|||
uint32_t nonce;
|
||||
uint32_t ar;
|
||||
uint32_t nr;
|
||||
uint32_t at;
|
||||
uint32_t nonce2;
|
||||
uint32_t ar2;
|
||||
uint32_t nr2;
|
||||
|
@ -2562,7 +2563,10 @@ void Mifare1ksim(uint8_t flags, uint8_t exitAfterNReads, uint8_t arg2, uint8_t *
|
|||
LED_A_ON();
|
||||
}
|
||||
}
|
||||
if (cardSTATE == MFEMUL_NOFIELD) continue;
|
||||
if (cardSTATE == MFEMUL_NOFIELD) {
|
||||
button_pushed = BUTTON_PRESS();
|
||||
continue;
|
||||
}
|
||||
|
||||
//Now, get data
|
||||
res = EmGetCmd(receivedCmd, &len, receivedCmd_par);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue