/* This internal API fills the standby duration settings provided by the user in the data buffer so as to write in the sensor.  */
static void fill_standby_settings(uint8_t *reg_data, const struct bme280_settings *settings)
/* This internal API fills the standby duration settings provided by the user in the data buffer so as to write in the sensor.  */
static void fill_standby_settings(uint8_t *reg_data, const struct bme280_settings *settings)
{
    *reg_data = BME280_SET_BITS(*reg_data, BME280_STANDBY, settings->standby_time);
}