use px4_defines header to distinguish platform

This commit is contained in:
Roman Bapst
2014-11-11 14:55:33 +01:00
parent c8ad06ff99
commit ed409fd537
15 changed files with 22 additions and 63 deletions
+1 -5
View File
@@ -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