/* Enumerate sensor range settings. 
This routine returns the address of a table, if any, holding device-specific sensor range settings. The units of the settings are specific to the device and typically documented in the manufacturer's data sheets for the device. */
bool sensor_enum_range(sensor_t *sensor, const sensor_range_t **table, size_t *count)
/* Enumerate sensor range settings. 
This routine returns the address of a table, if any, holding device-specific sensor range settings. The units of the settings are specific to the device and typically documented in the manufacturer's data sheets for the device. */
bool sensor_enum_range(sensor_t *sensor, const sensor_range_t **table, size_t *count)
{
	*table = sensor->drv->caps.range_table;
	*count = sensor->drv->caps.range_count;
	return (*count) ? true : false;
}