iio: Add documentation references for iioutils_get_type()

Link to where the structure and format are defined.
This commit is contained in:
Bastien Nocera
2019-05-10 14:24:27 +02:00
committed by hadess
parent afd8707998
commit f90db92ca1

View File

@@ -116,6 +116,8 @@ iioutils_break_up_name (const char *name)
* @be: big endian
* @device_dir: the iio device directory
* @name: the channel name
*
* See `struct iio_chan_spec` in the kernel headers.
**/
static gboolean
iioutils_get_type (unsigned *is_signed,
@@ -152,6 +154,7 @@ iioutils_get_type (unsigned *is_signed,
}
}
/* See `iio_show_fixed_type()` in the IIO core for the format */
ret = fscanf (sysfsfp,
"%ce:%c%u/%u>>%u",
&endianchar,