/* This API is used to reset the FIFO related configurations in the fifo_frame structure.  */
static void reset_fifo_data_structure(const struct bmi160_dev *dev)
/* This API is used to reset the FIFO related configurations in the fifo_frame structure.  */
static void reset_fifo_data_structure(const struct bmi160_dev *dev)
{
    dev->fifo->accel_byte_start_idx = 0;
    dev->fifo->gyro_byte_start_idx = 0;
    dev->fifo->aux_byte_start_idx = 0;
    dev->fifo->sensor_time = 0;
    dev->fifo->skipped_frame_count = 0;
}