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

This commit is contained in:
Yann GASCUEL
2024-01-24 13:59:13 +01:00
parent 8dc87d5432
commit afa821b3ec
+1
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);
}