iso15sim: fix: reset error to 0 after an error append

This commit is contained in:
Yann GASCUEL 2024-01-19 16:04:12 +01:00
commit afa821b3ec

View file

@ -2519,6 +2519,7 @@ void SimTagIso15693(uint8_t *uid, uint8_t block_size) {
recv[0] = ISO15_RES_ERROR;
recv[1] = error;
recvLen = 2;
error = 0;
if (g_dbglevel >= DBG_DEBUG)
Dbprintf("ERROR 0x%2X in received request", error);
}