Home
last modified time | relevance | path

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

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dand_constructor.c50 static struct inv_construct_t inv_construct = {0}; variable
120 if (inv_construct.debug_mode != RD_PLAYBACK) { in inv_playback()
126 if (inv_construct.file == NULL) { in inv_playback()
127 inv_construct.file = fopen(playback_filename, "rb"); in inv_playback()
128 if (!inv_construct.file) { in inv_playback()
136 r = fread(&type, sizeof(type), 1, inv_construct.file); in inv_playback()
139 inv_construct.debug_mode = RD_NO_DEBUG; in inv_playback()
140 fclose(inv_construct.file); in inv_playback()
146 r = fread(gyro, sizeof(gyro[0]), 3, inv_construct.file); in inv_playback()
147 r = fread(&ts, sizeof(ts), 1, inv_construct.file); in inv_playback()
[all …]