diff options
author | Roman Bapst <romanbapst@yahoo.de> | 2014-09-27 12:01:11 +0200 |
---|---|---|
committer | Roman Bapst <romanbapst@yahoo.de> | 2014-09-27 12:01:11 +0200 |
commit | c8b1c5b119e6552e8e5420ca8fecd24b2a3ad4a2 (patch) | |
tree | 5f0101e997ee6342297e87e9fb64537977c6456e /src/modules/uORB/topics | |
parent | 020a8292155cd2821cb66a9709a8c7c18524bdac (diff) | |
download | px4-firmware-c8b1c5b119e6552e8e5420ca8fecd24b2a3ad4a2.tar.gz px4-firmware-c8b1c5b119e6552e8e5420ca8fecd24b2a3ad4a2.tar.bz2 px4-firmware-c8b1c5b119e6552e8e5420ca8fecd24b2a3ad4a2.zip |
Adapted for shared library use with ROS
Diffstat (limited to 'src/modules/uORB/topics')
-rw-r--r-- | src/modules/uORB/topics/actuator_armed.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/uORB/topics/actuator_armed.h b/src/modules/uORB/topics/actuator_armed.h index 0f6c9aca1..9ec9d10ab 100644 --- a/src/modules/uORB/topics/actuator_armed.h +++ b/src/modules/uORB/topics/actuator_armed.h @@ -42,8 +42,9 @@ #define TOPIC_ACTUATOR_ARMED_H #include <stdint.h> +#ifdef CONFIG_ARCH_ARM #include "../uORB.h" - +#endif /** * @addtogroup topics * @{ @@ -64,6 +65,7 @@ struct actuator_armed_s { */ /* register this as object request broker structure */ +#ifdef CONFIG_ARCH_ARM ORB_DECLARE(actuator_armed); - +#endif #endif |