/*
- * Copyright (C) 2014 Intel Corporation.
+ * Copyright (C) 2014-2015 Intel Corporation.
*/
#include <stdio.h>
ret = fscanf(data_file, "%f %f %f",
&cal_data->bias_x, &cal_data->bias_y, &cal_data->bias_z);
+ if (ret != 3)
+ ALOGE("Gyro calibration - init failed!\n");
+
fclose(data_file);
}