diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/event_dispatcher_poll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/event_dispatcher_poll.cpp b/src/libcamera/event_dispatcher_poll.cpp index 130b5e20..1f0f352a 100644 --- a/src/libcamera/event_dispatcher_poll.cpp +++ b/src/libcamera/event_dispatcher_poll.cpp @@ -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; |