Home
last modified time | relevance | path

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

/Zephyr-latest/samples/modules/tflite-micro/magic_wand/src/
Daccelerometer_handler.cpp26 int begin_index = 0; variable
71 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()
Daccelerometer_handler.hpp25 extern int begin_index;
Dmain_functions.cpp111 MicroPrintf("Invoke failed on index: %d\n", begin_index); in loop()