diff options
author | Roman Bapst <romanbapst@yahoo.de> | 2014-11-11 14:55:33 +0100 |
---|---|---|
committer | Roman Bapst <romanbapst@yahoo.de> | 2014-11-11 14:55:33 +0100 |
commit | ed409fd53757a43b49758d3ed5573e809a23b113 (patch) | |
tree | 05608923835e44587343440b6f2dc6a02cd51135 /src/modules/uORB/topics/vehicle_global_position.h | |
parent | c8ad06ff9966884242a1ce80eddb4a45efc30c50 (diff) | |
download | px4-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.h | 7 |
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 |