aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/vehicle_status.h
diff options
context:
space:
mode:
authorRoman Bapst <romanbapst@yahoo.de>2014-11-11 14:55:33 +0100
committerRoman Bapst <romanbapst@yahoo.de>2014-11-11 14:55:33 +0100
commited409fd53757a43b49758d3ed5573e809a23b113 (patch)
tree05608923835e44587343440b6f2dc6a02cd51135 /src/modules/uORB/topics/vehicle_status.h
parentc8ad06ff9966884242a1ce80eddb4a45efc30c50 (diff)
downloadpx4-firmware-ed409fd53757a43b49758d3ed5573e809a23b113.tar.gz
px4-firmware-ed409fd53757a43b49758d3ed5573e809a23b113.tar.bz2
px4-firmware-ed409fd53757a43b49758d3ed5573e809a23b113.zip
use px4_defines header to distinguish platform
Diffstat (limited to 'src/modules/uORB/topics/vehicle_status.h')
-rw-r--r--src/modules/uORB/topics/vehicle_status.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/uORB/topics/vehicle_status.h b/src/modules/uORB/topics/vehicle_status.h
index 6bd156ccd..8e85b4835 100644
--- a/src/modules/uORB/topics/vehicle_status.h
+++ b/src/modules/uORB/topics/vehicle_status.h
@@ -53,9 +53,7 @@
#include <stdint.h>
#include <stdbool.h>
-#ifdef CONFIG_ARCH_ARM
-#include "../uORB.h"
-#endif
+#include <platforms/px4_defines.h>
/**
* @addtogroup topics @{
@@ -252,8 +250,6 @@ struct vehicle_status_s {
*/
/* register this as object request broker structure */
-#ifdef CONFIG_ARCH_ARM
ORB_DECLARE(vehicle_status);
-#endif
#endif