Searched refs:hbuf (Results 1 – 1 of 1) sorted by relevance
270 uint8_t hbuf[7]; in bme280_read_compensation() local303 err = bme280_reg_read(dev, BME280_REG_HUM_COMP_PART2, hbuf, 7); in bme280_read_compensation()309 data->dig_h2 = (hbuf[1] << 8) | hbuf[0]; in bme280_read_compensation()310 data->dig_h3 = hbuf[2]; in bme280_read_compensation()311 data->dig_h4 = (hbuf[3] << 4) | (hbuf[4] & 0x0F); in bme280_read_compensation()312 data->dig_h5 = ((hbuf[4] >> 4) & 0x0F) | (hbuf[5] << 4); in bme280_read_compensation()313 data->dig_h6 = hbuf[6]; in bme280_read_compensation()