aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB/topics/airspeed.h
diff options
context:
space:
mode:
authorRoman Bapst <romanbapst@yahoo.de>2014-11-11 14:55:33 +0100
committerRoman Bapst <romanbapst@yahoo.de>2014-11-11 14:55:33 +0100
commited409fd53757a43b49758d3ed5573e809a23b113 (patch)
tree05608923835e44587343440b6f2dc6a02cd51135 /src/modules/uORB/topics/airspeed.h
parentc8ad06ff9966884242a1ce80eddb4a45efc30c50 (diff)
downloadpx4-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/airspeed.h')
-rw-r--r--src/modules/uORB/topics/airspeed.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/uORB/topics/airspeed.h b/src/modules/uORB/topics/airspeed.h
index 4c115a811..676c37c77 100644
--- a/src/modules/uORB/topics/airspeed.h
+++ b/src/modules/uORB/topics/airspeed.h
@@ -40,9 +40,7 @@
#ifndef TOPIC_AIRSPEED_H_
#define TOPIC_AIRSPEED_H_
-#ifdef CONFIG_ARCH_ARM
-#include "../uORB.h"
-#endif
+#include <platforms/px4_defines.h>
#include <stdint.h>
/**
@@ -65,8 +63,6 @@ struct airspeed_s {
*/
/* register this as object request broker structure */
-#ifdef CONFIG_ARCH_ARM
ORB_DECLARE(airspeed);
-#endif
#endif