Home
last modified time | relevance | path

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

/hardware/invensense/60xx/mlsdk/mlutils/
Dmputest.c161 short *vals);
888 short *vals = &p_vals[3 * i]; in inv_test_accel() local
889 if (test_get_data(mlsl_handle, mputestCfgPtr, vals)) { in inv_test_accel()
892 x += 1.f * vals[X] / test_setup.accel_samples; in inv_test_accel()
893 y += 1.f * vals[Y] / test_setup.accel_samples; in inv_test_accel()
894 z += 1.f * vals[Z] / test_setup.accel_samples; in inv_test_accel()
930 short *vals = &p_vals[3 * i]; in inv_test_accel() local
931 RMS[X] += (vals[X] - x) * (vals[X] - x); in inv_test_accel()
932 RMS[Y] += (vals[Y] - y) * (vals[Y] - y); in inv_test_accel()
933 RMS[Z] += (vals[Z] - z) * (vals[Z] - z); in inv_test_accel()
[all …]