aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/nuttx/px4_nuttx_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platforms/nuttx/px4_nuttx_impl.cpp')
-rw-r--r--src/platforms/nuttx/px4_nuttx_impl.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/platforms/nuttx/px4_nuttx_impl.cpp b/src/platforms/nuttx/px4_nuttx_impl.cpp
index 3a6529716..c644dbced 100644
--- a/src/platforms/nuttx/px4_nuttx_impl.cpp
+++ b/src/platforms/nuttx/px4_nuttx_impl.cpp
@@ -39,8 +39,6 @@
#include <px4.h>
-extern bool task_should_exit;
-
namespace px4
{
@@ -55,21 +53,4 @@ uint64_t get_time_micros()
return hrt_absolute_time();
}
-bool ok()
-{
- return !task_should_exit;
-}
-
-void spin_once()
-{
- // XXX check linked list of topics with orb_check() here
-
-}
-
-void spin()
-{
- // XXX block waiting for updated topics here
-
-}
-
}