Home
last modified time | relevance | path

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

/Zephyr-latest/samples/modules/tflite-micro/magic_wand/src/
Daccelerometer_handler.cpp90 int ring_index = begin_index + sample - length / 3; in ReadAccelerometer() local
91 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()