From 4b1885c28ed3a76a138f6f67d8e926ed4030503d Mon Sep 17 00:00:00 2001 From: nerichan Date: Tue, 5 Nov 2024 15:22:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9response=5Flength=E7=9A=84?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Aime_Reader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aime_Reader.h b/Aime_Reader.h index 73786f6..ec05f3d 100644 --- a/Aime_Reader.h +++ b/Aime_Reader.h @@ -358,7 +358,7 @@ void nfc_mifare_read() { // 认证成功后,读取 MIFARE 指定的 block // 游戏发送的0x71命令后面的包实际上是完整的与Felica卡片直接通信的包,可以转发进PN532库直接用 // response也可以直接打包转发回游戏 void nfc_felica_through() { // FeliCa 处理函数 - uint8_t response_length = 0; + uint8_t response_length = 0xFF; if (nfc.inDataExchange(&req.encap_len, req.encap_len, &res.encap_len, &response_length)) { res_init(response_length); //如果成功的话 res.encap_len == response_length