Fix a condition check on phFriNfc_ISO15693_H_ProcessSystemInfo for case ISO15693_EXT_GET_SYS_INFO

The tag formatting processing can take place once we know the tag size provided
in this case by the ISO15693 command EXT_GET_SYSTEM_INFO.
In case of success, The next command tag will be sent by the NfcCx should be
READ_SINGLE_BLOCK command.
This commit is contained in:
Christophe Ricard 2018-12-18 10:57:13 -08:00 коммит произвёл Ivan Cherniukh
Родитель cdb3e67ee5
Коммит 18907d656d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -495,7 +495,7 @@ phFriNfc_ISO15693_H_ProFormat (
case ISO15693_EXT_GET_SYS_INFO:
{
if (NFCSTATUS_SUCCESS !=
if (NFCSTATUS_SUCCESS ==
phFriNfc_ISO15693_H_ProcessSystemInfo(psNdefSmtCrdFmt,
psNdefSmtCrdFmt->SendRecvBuf + ISO15693_EXTRA_RESPONSE_FLAG,
*psNdefSmtCrdFmt->SendRecvLength - ISO15693_EXTRA_RESPONSE_FLAG,