uORB: fix static orb_exists call for protected build

- unify ORBSet to maximum code coverage
This commit is contained in:
Daniel Agar
2022-09-26 12:38:58 -04:00
parent 2717137982
commit 462d0af384
3 changed files with 44 additions and 31 deletions
+1 -8
View File
@@ -41,15 +41,8 @@
#include <uORB/topics/uORBTopics.hpp> // For ORB_ID enum
#include <stdint.h>
#ifdef __PX4_NUTTX
#include "ORBSet.hpp"
#else
#include <string>
#include <set>
#define ORBSet std::set<std::string>
#endif
#ifdef ORB_COMMUNICATOR
#include "ORBSet.hpp"
#include "uORBCommunicator.hpp"
#endif /* ORB_COMMUNICATOR */