aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/vehicle_global_position.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_global_position.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_global_position.h')
-rw-r--r--src/modules/uORB/topics/vehicle_global_position.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/uORB/topics/vehicle_global_position.h b/src/modules/uORB/topics/vehicle_global_position.h
index e8f010924..f7a432495 100644
--- a/src/modules/uORB/topics/vehicle_global_position.h
+++ b/src/modules/uORB/topics/vehicle_global_position.h
@@ -45,9 +45,7 @@
#include <stdint.h>
#include <stdbool.h>
-#ifdef CONFIG_ARCH_ARM
-#include "../uORB.h"
-#endif
+#include <platforms/px4_defines.h>
/**
* @addtogroup topics
@@ -83,7 +81,6 @@ struct vehicle_global_position_s {
*/
/* register this as object request broker structure */
-#ifdef CONFIG_ARCH_ARM
ORB_DECLARE(vehicle_global_position);
-#endif
+
#endif