xiaoxiang781216 commented on a change in pull request #5204:
URL: https://github.com/apache/incubator-nuttx/pull/5204#discussion_r815395056
##########
File path: drivers/input/ajoystick.c
##########
@@ -686,7 +612,8 @@ static int ajoy_poll(FAR struct file *filep, FAR struct
pollfd *fds,
FAR struct inode *inode;
FAR struct ajoy_upperhalf_s *priv;
FAR struct ajoy_open_s *opriv;
- int ret;
+ irqstate_t flags;
+ int ret = 0;
Review comment:
Done.
--
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]