aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/vehicle_control_mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/uORB/topics/vehicle_control_mode.h')
-rw-r--r--src/modules/uORB/topics/vehicle_control_mode.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/uORB/topics/vehicle_control_mode.h b/src/modules/uORB/topics/vehicle_control_mode.h
index 78de55b7d..2dd8550bc 100644
--- a/src/modules/uORB/topics/vehicle_control_mode.h
+++ b/src/modules/uORB/topics/vehicle_control_mode.h
@@ -48,9 +48,7 @@
#include <stdint.h>
#include <stdbool.h>
-#ifdef CONFIG_ARCH_ARM
-#include "../uORB.h"
-#endif
+#include <platforms/px4_defines.h>
#include "vehicle_status.h"
/**
@@ -92,8 +90,6 @@ struct vehicle_control_mode_s {
*/
/* register this as object request broker structure */
-#ifdef CONFIG_ARCH_ARM
ORB_DECLARE(vehicle_control_mode);
-#endif
#endif