diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-17 13:59:03 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-17 13:59:03 +1100 |
commit | 43b98888909fad28c8444cc64c77bf5177adaa41 (patch) | |
tree | 8dc152fac657efabf2a2801173f69d8f003dff7d /tools | |
parent | b66c3664e763aa8d13d96a4d89c72be6bb0d05f5 (diff) | |
parent | 0a441275018b69deffd35bc22a84fd51c54d7d85 (diff) |
Merge remote-tracking branch 'staging/staging-next'
Diffstat (limited to 'tools')
-rw-r--r-- | tools/iio/iio_event_monitor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/iio/iio_event_monitor.c b/tools/iio/iio_event_monitor.c index d9b7e0f306c6..b61245e1181d 100644 --- a/tools/iio/iio_event_monitor.c +++ b/tools/iio/iio_event_monitor.c @@ -57,6 +57,7 @@ static const char * const iio_chan_type_name_spec[] = { [IIO_RESISTANCE] = "resistance", [IIO_PH] = "ph", [IIO_UVINDEX] = "uvindex", + [IIO_GRAVITY] = "gravity", }; static const char * const iio_ev_type_text[] = { @@ -149,6 +150,7 @@ static bool event_is_known(struct iio_event_data *event) case IIO_RESISTANCE: case IIO_PH: case IIO_UVINDEX: + case IIO_GRAVITY: break; default: return false; |