Searched refs:calFile (Results 1 – 1 of 1) sorted by relevance
210 FILE *calFile; in inv_serial_get_cal_length() local213 calFile = fopen(MLCAL_FILE, "rb"); in inv_serial_get_cal_length()214 if (calFile == NULL) { in inv_serial_get_cal_length()219 *len += (unsigned char)fgetc(calFile) << 24; in inv_serial_get_cal_length()220 *len += (unsigned char)fgetc(calFile) << 16; in inv_serial_get_cal_length()221 *len += (unsigned char)fgetc(calFile) << 8; in inv_serial_get_cal_length()222 *len += (unsigned char)fgetc(calFile); in inv_serial_get_cal_length()224 fclose(calFile); in inv_serial_get_cal_length()