Searched refs:ring_array_index (Results 1 – 3 of 3) sorted by relevance
81 int ring_array_index = begin_index + i - length; in ReadAccelerometer() local82 if (ring_array_index < 0) { in ReadAccelerometer()83 ring_array_index += ring_buffer_size; in ReadAccelerometer()85 input[i] = save_data[ring_array_index]; in ReadAccelerometer()
131 int ring_array_index = begin_index + i - length; in ReadAccelerometer() local132 if (ring_array_index < 0) { in ReadAccelerometer()133 ring_array_index += 600; in ReadAccelerometer()135 input[i] = save_data[ring_array_index]; in ReadAccelerometer()
211 int ring_array_index = begin_index + i - length; in ReadAccelerometer() local212 if (ring_array_index < 0) { in ReadAccelerometer()213 ring_array_index += 600; in ReadAccelerometer()215 input[i] = save_data[ring_array_index]; in ReadAccelerometer()