Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c190 struct TripleAxisDataPoint *curr_sample, *next_sample; in fillSamples() local
212 next_sample = curr_sample + 1; in fillSamples()
217 next_sample = ev->samples; in fillSamples()
224 if (next_sample == ev->samples) in fillSamples()
227 next_time = curr_time + next_sample->deltaTime; in fillSamples()
240 curr_sample = next_sample; in fillSamples()
241 next_sample++; in fillSamples()
248 (next_sample->x - curr_sample->x); in fillSamples()
250 (next_sample->y - curr_sample->y); in fillSamples()
252 (next_sample->z - curr_sample->z); in fillSamples()