Fix parenthesis position.
This commit is contained in:
parent
82a7b8df66
commit
f19d9bd05f
1 changed files with 3 additions and 3 deletions
|
@ -52,9 +52,9 @@ freefare_tag_new (nfc_device_t *device, nfc_iso14443a_info_t nai)
|
||||||
if (((nai.szUidLen == 4) || (nai.abtUid[0] == NXP_MANUFACTURER_CODE)) &&
|
if (((nai.szUidLen == 4) || (nai.abtUid[0] == NXP_MANUFACTURER_CODE)) &&
|
||||||
(nai.btSak == supported_tags[i].SAK) &&
|
(nai.btSak == supported_tags[i].SAK) &&
|
||||||
(!supported_tags[i].ATS_min_length || ((nai.szAtsLen >= supported_tags[i].ATS_min_length) &&
|
(!supported_tags[i].ATS_min_length || ((nai.szAtsLen >= supported_tags[i].ATS_min_length) &&
|
||||||
(0 == memcmp (nai.abtAts, supported_tags[i].ATS, supported_tags[i].ATS_compare_length)) &&
|
(0 == memcmp (nai.abtAts, supported_tags[i].ATS, supported_tags[i].ATS_compare_length)))) &&
|
||||||
((supported_tags[i].check_tag_on_reader == NULL) ||
|
((supported_tags[i].check_tag_on_reader == NULL) ||
|
||||||
supported_tags[i].check_tag_on_reader(device, nai))))) {
|
supported_tags[i].check_tag_on_reader(device, nai))) {
|
||||||
|
|
||||||
tag_info = &(supported_tags[i]);
|
tag_info = &(supported_tags[i]);
|
||||||
found = true;
|
found = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue