/* Get a 14-bit integer from raw ADC data.  */
static int ads7052_get_be14(const uint8_t src[2])
/* Get a 14-bit integer from raw ADC data.  */
static int ads7052_get_be14(const uint8_t src[2])
{
	return ((src[0] & 0x7F) << 7) | (src[1] >> 1);
}