Searched refs:nxp_firmware_file (Results 1 – 1 of 1) sorted by relevance
119 static FILE * nxp_firmware_file; variable137 if (nxp_firmware_file == NULL){ in nxp_load_firmware()139 nxp_firmware_file = fopen(nxp_firmware_path, "rb"); in nxp_load_firmware()140 if (nxp_firmware_file != NULL){ in nxp_load_firmware()148 size_t bytes_read = fread(buffer, 1, bytes_to_read, nxp_firmware_file); in nxp_read_firmware()153 btstack_assert(nxp_firmware_file != NULL); in nxp_unload_firmware()154 fclose(nxp_firmware_file); in nxp_unload_firmware()155 nxp_firmware_file = NULL; in nxp_unload_firmware()