Searched refs:begin_index (Results 1 – 3 of 3) sorted by relevance
26 int begin_index = 0; variable71 bufx[begin_index] = (float)sensor_value_to_double(&accel[0]); in ReadAccelerometer()72 bufy[begin_index] = (float)sensor_value_to_double(&accel[1]); in ReadAccelerometer()73 bufz[begin_index] = (float)sensor_value_to_double(&accel[2]); in ReadAccelerometer()74 begin_index++; in ReadAccelerometer()75 if (begin_index >= BUFLEN) { in ReadAccelerometer()76 begin_index = 0; in ReadAccelerometer()80 if (initial && begin_index >= 100) { in ReadAccelerometer()90 int ring_index = begin_index + sample - length / 3; in ReadAccelerometer()
25 extern int begin_index;
111 MicroPrintf("Invoke failed on index: %d\n", begin_index); in loop()