wangchdo opened a new pull request, #16980:
URL: https://github.com/apache/nuttx/pull/16980
In certain cases, when the event-wait thread is awakened,
it needs to know the specific mask bit that triggered it,
so that it can branch to different paths accordingly.
This patch introduces the nxevent_getmask function to address this
requirement.
*Note: Please adhere to [Contributing
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
## Summary
This patch introduces the nxevent_getmask function to get the event mask of
a event object
## Impact
A new function is added, no impact to other nuttx parts.
## Testing
**Ostest passed on a2g-tc397-5v-tft board:**
<img width="703" height="417" alt="image"
src="https://github.com/user-attachments/assets/785832d2-0dee-4315-95c6-153be11620e3"
/>
<img width="586" height="571" alt="image"
src="https://github.com/user-attachments/assets/adadbcdb-0b57-4d5c-98b0-cde2ec7f152b"
/>
--
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]