/* CRC algorithm parameters were taken from the "Checksum Calculation" section of the datasheet.  */
static uint8_t sht3xd_compute_crc(uint16_t value)
/* CRC algorithm parameters were taken from the "Checksum Calculation" section of the datasheet.  */
static uint8_t sht3xd_compute_crc(uint16_t value)
{
	uint8_t buf[2];
	sys_put_be16(value, buf);
	return crc8(buf, 2, 0x31, 0xFF, false);
}