pkarashchenko commented on a change in pull request #5624:
URL: https://github.com/apache/incubator-nuttx/pull/5624#discussion_r816945929
##########
File path: drivers/input/djoystick.c
##########
@@ -713,6 +711,17 @@ static int djoy_poll(FAR struct file *filep, FAR struct
pollfd *fds,
opriv->do_fds[i] = fds;
fds->priv = &opriv->do_fds[i];
+
+ if (opriv->do_pollpending)
+ {
+ fds->revents |= (fds->events & POLLIN);
Review comment:
same as in `drivers/input/ajoystick.c`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]