/* This API configure the settings of auxiliary sensor.  */
static int8_t config_aux_settg(const struct bmi160_dev *dev)
/* This API configure the settings of auxiliary sensor.  */
static int8_t config_aux_settg(const struct bmi160_dev *dev)
{
    int8_t rslt;
    rslt = config_sec_if(dev);
    if (rslt == BMI160_OK)
    {
        rslt = bmi160_config_aux_mode(dev);
    }
    return rslt;
}