aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/vehicle_global_position.h
diff options
context:
space:
mode:
authorRoman Bapst <romanbapst@yahoo.de>2014-09-25 10:20:15 +0200
committerRoman Bapst <romanbapst@yahoo.de>2014-09-25 10:20:15 +0200
commit96b22f1ba8980ea8e1cbc405a808ae920102f064 (patch)
tree57bfaf6946dfc3be4e430adec855fd838a5cc680 /src/modules/uORB/topics/vehicle_global_position.h
parent81a5aeb6f5cb022e6987a1651658d9b62359cccb (diff)
downloadpx4-firmware-96b22f1ba8980ea8e1cbc405a808ae920102f064.tar.gz
px4-firmware-96b22f1ba8980ea8e1cbc405a808ae920102f064.tar.bz2
px4-firmware-96b22f1ba8980ea8e1cbc405a808ae920102f064.zip
Adapted uORB topic files to work with ROS (data stuctures are used but not the uORB functionality)
Diffstat (limited to 'src/modules/uORB/topics/vehicle_global_position.h')
-rw-r--r--src/modules/uORB/topics/vehicle_global_position.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/uORB/topics/vehicle_global_position.h b/src/modules/uORB/topics/vehicle_global_position.h
index c3bb3b893..e8f010924 100644
--- a/src/modules/uORB/topics/vehicle_global_position.h
+++ b/src/modules/uORB/topics/vehicle_global_position.h
@@ -45,7 +45,9 @@
#include <stdint.h>
#include <stdbool.h>
+#ifdef CONFIG_ARCH_ARM
#include "../uORB.h"
+#endif
/**
* @addtogroup topics
@@ -81,6 +83,7 @@ struct vehicle_global_position_s {
*/
/* register this as object request broker structure */
+#ifdef CONFIG_ARCH_ARM
ORB_DECLARE(vehicle_global_position);
-
+#endif
#endif