diff --git a/channel.c b/channel.c index c35454570..5c8756017 100644 --- a/channel.c +++ b/channel.c @@ -54,6 +54,7 @@ static const char * const iio_chan_type_name_spec[] = { [IIO_DELTA_VELOCITY] = "delta_velocity", [IIO_COLORTEMP] = "colortemp", [IIO_CHROMATICITY] = "chromaticity", + [IIO_ATTENTION] = "attention", }; static const char * const hwmon_chan_type_name_spec[] = { diff --git a/include/iio/iio.h b/include/iio/iio.h index 82395aabf..b515435ab 100644 --- a/include/iio/iio.h +++ b/include/iio/iio.h @@ -210,6 +210,7 @@ enum iio_chan_type { IIO_DELTA_VELOCITY, IIO_COLORTEMP, IIO_CHROMATICITY, + IIO_ATTENTION, IIO_CHAN_TYPE_UNKNOWN = INT_MAX };