aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/manual_control_setpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/uORB/topics/manual_control_setpoint.h')
-rw-r--r--src/modules/uORB/topics/manual_control_setpoint.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/uORB/topics/manual_control_setpoint.h b/src/modules/uORB/topics/manual_control_setpoint.h
index dde237adc..af5df6979 100644
--- a/src/modules/uORB/topics/manual_control_setpoint.h
+++ b/src/modules/uORB/topics/manual_control_setpoint.h
@@ -41,8 +41,9 @@
#define TOPIC_MANUAL_CONTROL_SETPOINT_H_
#include <stdint.h>
+#ifdef CONFIG_ARCH_ARM
#include "../uORB.h"
-
+#endif
/**
* Switch position
*/
@@ -106,6 +107,7 @@ struct manual_control_setpoint_s {
*/
/* register this as object request broker structure */
+#ifdef CONFIG_ARCH_ARM
ORB_DECLARE(manual_control_setpoint);
-
+#endif
#endif