mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
iso15sim: fix: reset error to 0 after an error append
This commit is contained in:
parent
8dc87d5432
commit
afa821b3ec
1 changed files with 1 additions and 0 deletions
|
@ -2519,6 +2519,7 @@ void SimTagIso15693(uint8_t *uid, uint8_t block_size) {
|
||||||
recv[0] = ISO15_RES_ERROR;
|
recv[0] = ISO15_RES_ERROR;
|
||||||
recv[1] = error;
|
recv[1] = error;
|
||||||
recvLen = 2;
|
recvLen = 2;
|
||||||
|
error = 0;
|
||||||
if (g_dbglevel >= DBG_DEBUG)
|
if (g_dbglevel >= DBG_DEBUG)
|
||||||
Dbprintf("ERROR 0x%2X in received request", error);
|
Dbprintf("ERROR 0x%2X in received request", error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue