aboutsummaryrefslogtreecommitdiff
path: root/src/include/px4.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-12-03 15:11:27 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-12-03 15:11:27 +0100
commit924350a5de1a609e470618ef78212bf7b0044c33 (patch)
treee6c0e2c79135833e0dcc86aad68dae16320892b9 /src/include/px4.h
parent1c79f0cef1f21cff7935ddd7caf048fd96991eea (diff)
downloadpx4-firmware-924350a5de1a609e470618ef78212bf7b0044c33.tar.gz
px4-firmware-924350a5de1a609e470618ef78212bf7b0044c33.tar.bz2
px4-firmware-924350a5de1a609e470618ef78212bf7b0044c33.zip
bring up param wrapper for px4, moved global include file
Diffstat (limited to 'src/include/px4.h')
-rw-r--r--src/include/px4.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/include/px4.h b/src/include/px4.h
index 2d5d25964..ca702d63c 100644
--- a/src/include/px4.h
+++ b/src/include/px4.h
@@ -39,27 +39,7 @@
#pragma once
-#include <stdbool.h>
-
-#if defined(__linux) || (defined(__APPLE__) && defined(__MACH__))
-/*
- * Building for running within the ROS environment
- */
-#include "ros/ros.h"
-#include "px4/rc_channels.h"
-
-#else
-/*
- * Building for NuttX
- */
-#include <nuttx/config.h>
-#include <uORB/uORB.h>
-#include <uORB/topics/rc_channels.h>
-#include <systemlib/err.h>
-#include <systemlib/param/param.h>
-
-#endif
-
+#include "../platforms/px4_includes.h"
#include "../platforms/px4_defines.h"
#include "../platforms/px4_middleware.h"
#include "../platforms/px4_nodehandle.h"