fix 'hf 15 csetuid'

* switch off field after UID update
* return last tag response (if there is any)
This commit is contained in:
pwpiwi 2019-12-05 07:53:11 +01:00
commit 124bed1513

View file

@ -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();
}