mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-09 00:41:36 +08:00
WIP: px4log
This commit is contained in:
@@ -183,6 +183,8 @@ public:
|
||||
|
||||
ORB_ID orb_id() const { return _orb_id; }
|
||||
|
||||
void reset() { _last_generation = 0; }
|
||||
|
||||
protected:
|
||||
|
||||
friend class SubscriptionCallback;
|
||||
|
||||
@@ -161,6 +161,8 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
void reset() { _subscription.reset(); }
|
||||
|
||||
private:
|
||||
|
||||
pthread_mutex_t _mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
Reference in New Issue
Block a user