From afa821b3ec3d6604e3aacd03b22d415a9e299841 Mon Sep 17 00:00:00 2001 From: Yann GASCUEL <34003959+lnv42@users.noreply.github.com> Date: Fri, 19 Jan 2024 16:04:12 +0100 Subject: [PATCH] iso15sim: fix: reset error to 0 after an error append --- armsrc/iso15693.c | 1 + 1 file changed, 1 insertion(+) diff --git a/armsrc/iso15693.c b/armsrc/iso15693.c index dfc3e6829..73274859f 100644 --- a/armsrc/iso15693.c +++ b/armsrc/iso15693.c @@ -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); }