Skip to content
Snippets Groups Projects
Commit 19c2ae61 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

MAVLink: Do no not init fds struct

parent 1a716e1a
No related branches found
No related tags found
No related merge requests found
......@@ -2090,7 +2090,7 @@ MavlinkReceiver::receive_thread(void *arg)
#endif
mavlink_message_t msg;
struct pollfd fds[1] = {};
struct pollfd fds[1];
if (_mavlink->get_protocol() == SERIAL) {
fds[0].fd = _mavlink->get_uart_fd();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment