Home
last modified time | relevance | path

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

/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp1268 FILE *fp_file; in cw_save_calibrator_file() local
1274 fp_file = fopen(path, "w+"); in cw_save_calibrator_file()
1275 if (!fp_file) { in cw_save_calibrator_file()
1282 fprintf(fp_file, "%d %d %d\n", str[0], str[1], str[2]); in cw_save_calibrator_file()
1286 … rc = fprintf(fp_file, "%d%c", str[i], (i == (COMPASS_CALIBRATION_DATA_SIZE-1)) ? '\n' : ' '); in cw_save_calibrator_file()
1293 fclose(fp_file); in cw_save_calibrator_file()