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.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/modules/uORB/topics/manual_control_setpoint.h b/src/modules/uORB/topics/manual_control_setpoint.h
index af5df6979..15b55648d 100644
--- a/src/modules/uORB/topics/manual_control_setpoint.h
+++ b/src/modules/uORB/topics/manual_control_setpoint.h
@@ -41,9 +41,8 @@
#define TOPIC_MANUAL_CONTROL_SETPOINT_H_
#include <stdint.h>
-#ifdef CONFIG_ARCH_ARM
-#include "../uORB.h"
-#endif
+#include <platforms/px4_defines.h>
+
/**
* Switch position
*/
@@ -107,7 +106,6 @@ struct manual_control_setpoint_s {
*/
/* register this as object request broker structure */
-#ifdef CONFIG_ARCH_ARM
ORB_DECLARE(manual_control_setpoint);
-#endif
+
#endif