Sensors: Initialize poll struct

This commit is contained in:
Lorenz Meier
2015-11-08 10:22:45 +01:00
parent adba2de2bf
commit 825b651d17
+1 -1
View File
@@ -2146,7 +2146,7 @@ Sensors::task_main()
_sensor_pub = orb_advertise(ORB_ID(sensor_combined), &raw);
/* wakeup source(s) */
px4_pollfd_struct_t fds[1];
px4_pollfd_struct_t fds[1] = {};
/* use the gyro to pace output */
fds[0].fd = _gyro_sub[0];