Searched refs:ring_index (Results 1 – 1 of 1) sorted by relevance
90 int ring_index = begin_index + sample - length / 3; in ReadAccelerometer() local91 if (ring_index < 0) { in ReadAccelerometer()92 ring_index += BUFLEN; in ReadAccelerometer()94 input[i] = bufx[ring_index]; in ReadAccelerometer()95 input[i + 1] = bufy[ring_index]; in ReadAccelerometer()96 input[i + 2] = bufz[ring_index]; in ReadAccelerometer()