Initialize selevreq

selevreq was previously being passed to ioctl without being fully initialized.
This commit is contained in:
Quentin Smith 2021-03-18 03:35:13 +00:00
parent d794f046dc
commit cdf2b6b39f

View File

@ -645,7 +645,7 @@ private:
DWORD signals; // All bus signals
#if defined(USE_SEL_EVENT_ENABLE) && !defined(BAREMETAL)
struct gpioevent_request selevreq; // SEL signal event request
struct gpioevent_request selevreq = {}; // SEL signal event request
int epfd; // epoll file descriptor
#endif // USE_SEL_EVENT_ENABLE && !BAREMETAL