diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-03 16:13:40 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-03 16:13:40 +0000 |
commit | fb93c6697042ab2a4f0244e4b2808325a7dfb992 (patch) | |
tree | e07be7fd05ba272e5cedac20cdf78a9e61afc44f /nuttx/drivers/input/ads7843e.c | |
parent | c7049214583fe91d4cf3b72c7d3f2667a08dbc8e (diff) | |
download | px4-nuttx-fb93c6697042ab2a4f0244e4b2808325a7dfb992.tar.gz px4-nuttx-fb93c6697042ab2a4f0244e4b2808325a7dfb992.tar.bz2 px4-nuttx-fb93c6697042ab2a4f0244e4b2808325a7dfb992.zip |
Fix a cloned error in driver poll setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4132 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/input/ads7843e.c')
-rw-r--r-- | nuttx/drivers/input/ads7843e.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/input/ads7843e.c b/nuttx/drivers/input/ads7843e.c index 1e04de37c..d4b83703c 100644 --- a/nuttx/drivers/input/ads7843e.c +++ b/nuttx/drivers/input/ads7843e.c @@ -980,7 +980,7 @@ static int ads7843e_poll(FAR struct file *filep, FAR struct pollfd *fds, { /* Ignore waits that do not include POLLIN */ - if ((fds->revents & POLLIN) == 0) + if ((fds->events & POLLIN) == 0) { ret = -EDEADLK; goto errout; |