1
0
mirror of synced 2024-11-23 23:50:56 +01:00

又少加了个&

This commit is contained in:
nerichan 2024-11-04 19:19:22 +08:00
parent 124b048029
commit 25decaa656

View File

@ -360,7 +360,7 @@ void nfc_mifare_read() { // 认证成功后,读取 MIFARE 指定的 block
void nfc_felica_through() { // FeliCa 处理函数
uint8_t response_length = 0;
req.encap_code &= 0x0F; //把0xA4处理为0x04FELICA_CMD_REQUEST_RESPONSE
if (nfc.inDataExchange(&req.encap_len, req.encap_len, &res.encap_len, response_length)) {
if (nfc.inDataExchange(&req.encap_len, req.encap_len, &res.encap_len, &response_length)) {
res_init(response_length);
//如果成功的话 res.encap_len == response_length
} else {