From 124bed1513bc0e8140da48358d6de948eb865297 Mon Sep 17 00:00:00 2001 From: pwpiwi Date: Thu, 5 Dec 2019 07:53:11 +0100 Subject: [PATCH] fix 'hf 15 csetuid' * switch off field after UID update * return last tag response (if there is any) --- armsrc/iso15693.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/armsrc/iso15693.c b/armsrc/iso15693.c index 665786bf..c7b70807 100644 --- a/armsrc/iso15693.c +++ b/armsrc/iso15693.c @@ -1860,7 +1860,10 @@ void SetTag15693Uid(uint8_t *uid) { // } } - cmd_send(CMD_ACK, recvlen, 0, 0, NULL, 0); + FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF); + LED_D_OFF(); + + cmd_send(CMD_ACK, recvlen, 0, 0, recvbuf, recvlen); LED_A_OFF(); }