small fix
This commit is contained in:
parent
6f0cf99c92
commit
cf79b7865d
@ -700,7 +700,7 @@ void nfc_process_block(uint8_t * buf, unsigned int len)
|
|||||||
|
|
||||||
if (IS_PPSS_CMD(buf[0]))
|
if (IS_PPSS_CMD(buf[0]))
|
||||||
{
|
{
|
||||||
printf1(TAG_NFC, "NFC_CMD_PPSS [%d] 0x%02x %02x\r\n", len, (len > 2) ? buf[2] : 0);
|
printf1(TAG_NFC, "NFC_CMD_PPSS [%d] 0x%02x\r\n", len, (len > 2) ? buf[2] : 0);
|
||||||
|
|
||||||
if (buf[1] == 0x11 && (buf[2] & 0x0f) == 0x00) {
|
if (buf[1] == 0x11 && (buf[2] & 0x0f) == 0x00) {
|
||||||
nfc_write_frame(buf, 1); // ack with correct start byte
|
nfc_write_frame(buf, 1); // ack with correct start byte
|
||||||
|
Loading…
x
Reference in New Issue
Block a user