Home
last modified time | relevance | path

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

/hardware/st/nfc/st21nfc/hal/
Dhal_fd.cc30 FILE *mFwFileBin; variable
136 mFwFileBin = NULL; in hal_fd_init()
141 if ((mFwFileBin = fopen((char *)FwPath, "r")) == NULL) { in hal_fd_init()
147 fread(mBinData, sizeof(uint8_t), 4, mFwFileBin); in hal_fd_init()
151 fread(mApduAuthent, sizeof(uint8_t), 24, mFwFileBin); in hal_fd_init()
153 fgetpos(mFwFileBin, &mPosInit); in hal_fd_init()
185 if (mFwFileBin != NULL) { in hal_fd_close()
186 fclose(mFwFileBin); in hal_fd_close()
187 mFwFileBin = NULL; in hal_fd_close()
279 if ((mFwFileBin != NULL) && (mFWInfo->patchVersion != mFWInfo->fwVersion)) { in ft_cmd_HwReset()
[all …]