Skip to content
Snippets Groups Projects
Commit cf48ceb4 authored by Matthias Grob's avatar Matthias Grob Committed by Beat Küng
Browse files

Revert "Subscription remove unused instance class member"

This reverts commit cf2d794d.
parent 88cf2aeb
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,8 @@ namespace uORB
{
SubscriptionBase::SubscriptionBase(const struct orb_metadata *meta, unsigned interval, unsigned instance) :
_meta(meta)
_meta(meta),
_instance(instance)
{
if (instance > 0) {
_handle = orb_subscribe_multi(_meta, instance);
......
......@@ -90,6 +90,7 @@ public:
protected:
const struct orb_metadata *_meta;
unsigned _instance;
int _handle;
};
......
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