mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
uORB::DeviceNode initialize _publisher
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user