mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 17:15:07 +03:00
libcamera: event_dispatcher_poll: Fix bitwise test
Add missing parentheses to fix a bitwise test. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
152147c539
commit
2eeb826f3f
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ int EventDispatcherPoll::poll(std::vector<struct pollfd> *pollfds)
|
|||
|
||||
void EventDispatcherPoll::processInterrupt(const struct pollfd &pfd)
|
||||
{
|
||||
if (!pfd.revents & POLLIN)
|
||||
if (!(pfd.revents & POLLIN))
|
||||
return;
|
||||
|
||||
uint64_t value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue