Home
last modified time | relevance | path

Searched refs:mFwFileBin (Results 1 – 1 of 1) sorted by relevance

/hardware/st/nfc/st21nfc/hal/
Dhal_fd.cc29 FILE *mFwFileBin; variable
122 mFwFileBin = NULL; in hal_fd_init()
127 if ((mFwFileBin = fopen((char *)FwPath, "r")) == NULL) { in hal_fd_init()
133 fread(mBinData, sizeof(uint8_t), 4, mFwFileBin); in hal_fd_init()
137 fread(mApduAuthent, sizeof(uint8_t), 24, mFwFileBin); in hal_fd_init()
139 fgetpos(mFwFileBin, &mPosInit); in hal_fd_init()
167 if (mFwFileBin != NULL) { in hal_fd_close()
168 fclose(mFwFileBin); in hal_fd_close()
169 mFwFileBin = NULL; in hal_fd_close()
257 if ((mFwFileBin != NULL) && (mFWInfo->patchVersion != mFWInfo->fwVersion)) { in ft_cmd_HwReset()
[all …]