commander preflight check sensors via uORB instead of IOCTL

- remove all platform defines
This commit is contained in:
Daniel Agar
2018-08-02 21:57:24 -04:00
committed by Lorenz Meier
parent f72e9e4385
commit c7e572d2c2
5 changed files with 268 additions and 247 deletions
+6 -2
View File
@@ -90,8 +90,10 @@ public:
protected:
const struct orb_metadata *_meta;
unsigned _instance;
int _handle;
int _handle{-1};
};
/**
@@ -155,7 +157,9 @@ public:
List<SubscriptionNode *> *list = nullptr):
SubscriptionNode(meta, interval, instance, list),
_data() // initialize data structure to zero
{}
{
forcedUpdate();
}
~Subscription() override = default;