|
@@ -393,7 +393,7 @@ static const struct iio_event_spec ad799x_events[] = {
|
|
}, {
|
|
}, {
|
|
.type = IIO_EV_TYPE_THRESH,
|
|
.type = IIO_EV_TYPE_THRESH,
|
|
.dir = IIO_EV_DIR_FALLING,
|
|
.dir = IIO_EV_DIR_FALLING,
|
|
- .mask_separate = BIT(IIO_EV_INFO_VALUE),
|
|
|
|
|
|
+ .mask_separate = BIT(IIO_EV_INFO_VALUE) |
|
|
BIT(IIO_EV_INFO_ENABLE),
|
|
BIT(IIO_EV_INFO_ENABLE),
|
|
}, {
|
|
}, {
|
|
.type = IIO_EV_TYPE_THRESH,
|
|
.type = IIO_EV_TYPE_THRESH,
|