Searched refs:tilt_tmp (Results 1 – 1 of 1) sorted by relevance
390 int i, tilt_tmp; in add_samples() local468 tilt_tmp = (int)(asinf(z / magnitude) * RADIANS_TO_DEGREES); in add_samples()469 tilt_tmp = (tilt_tmp > 127) ? 127 : tilt_tmp; in add_samples()470 tilt_tmp = (tilt_tmp < -128) ? -128 : tilt_tmp; in add_samples()471 tilt_angle = tilt_tmp; in add_samples()