Skip to content
Snippets Groups Projects
Commit fb3e3b1c authored by Daniel Agar's avatar Daniel Agar
Browse files

uORB::DeviceNode initialize _publisher

parent 85994950
No related branches found
No related tags found
No related merge requests found
......@@ -227,10 +227,10 @@ private:
inline static SubscriberData *filp_to_sd(device::file_t *filp);
#ifdef __PX4_NUTTX
pid_t _publisher; /**< if nonzero, current publisher. Only used inside the advertise call.
pid_t _publisher {0}; /**< if nonzero, current publisher. Only used inside the advertise call.
We allow one publisher to have an open file descriptor at the same time. */
#else
px4_task_t _publisher; /**< if nonzero, current publisher. Only used inside the advertise call.
px4_task_t _publisher {0}; /**< if nonzero, current publisher. Only used inside the advertise call.
We allow one publisher to have an open file descriptor at the same time. */
#endif
......
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