又少加了个&
This commit is contained in:
parent
124b048029
commit
25decaa656
@ -360,7 +360,7 @@ void nfc_mifare_read() { // 认证成功后,读取 MIFARE 指定的 block
|
|||||||
void nfc_felica_through() { // FeliCa 处理函数
|
void nfc_felica_through() { // FeliCa 处理函数
|
||||||
uint8_t response_length = 0;
|
uint8_t response_length = 0;
|
||||||
req.encap_code &= 0x0F; //把0xA4处理为0x04(FELICA_CMD_REQUEST_RESPONSE)
|
req.encap_code &= 0x0F; //把0xA4处理为0x04(FELICA_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_init(response_length);
|
||||||
//如果成功的话 res.encap_len == response_length
|
//如果成功的话 res.encap_len == response_length
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user