aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/drv_airspeed.h
diff options
context:
space:
mode:
authorSimon Wilks <sjwilks@gmail.com>2013-04-13 08:47:12 +0200
committerSimon Wilks <sjwilks@gmail.com>2013-04-13 08:47:12 +0200
commit42f4a9e8800c4d5d2823b4f477c556547fe0d3d0 (patch)
tree39d32a4b3b4acd64e4361c96dcaab8efccb53eed /apps/drivers/drv_airspeed.h
parentc8ac1d0b0a97f5fc926a48e64e0e116387453dcd (diff)
downloadpx4-firmware-42f4a9e8800c4d5d2823b4f477c556547fe0d3d0.tar.gz
px4-firmware-42f4a9e8800c4d5d2823b4f477c556547fe0d3d0.tar.bz2
px4-firmware-42f4a9e8800c4d5d2823b4f477c556547fe0d3d0.zip
Switch to differential pressure topic
Diffstat (limited to 'apps/drivers/drv_airspeed.h')
-rw-r--r--apps/drivers/drv_airspeed.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/drivers/drv_airspeed.h b/apps/drivers/drv_airspeed.h
index a98f56807..269ee4559 100644
--- a/apps/drivers/drv_airspeed.h
+++ b/apps/drivers/drv_airspeed.h
@@ -47,18 +47,18 @@
#define AIRSPEED_DEVICE_PATH "/dev/airspeed"
/**
- * Airspeed report structure. Reads from the device must be in multiples of this
+ * Airspeed report structure. Reads from the device must be in multiples of this
* structure.
*/
-struct airspeed_report {
- uint64_t timestamp;
- uint8_t speed; /** in meters/sec */
-};
+//struct airspeed_report {
+// uint64_t timestamp;
+// uint8_t diff_pressure; /** differential pressure in Pa */
+//};
/*
* ObjDev tag for raw range finder data.
*/
-ORB_DECLARE(sensor_differential_pressure);
+//ORB_DECLARE(sensor_differential_pressure);
/*
* ioctl() definitions
@@ -67,7 +67,7 @@ ORB_DECLARE(sensor_differential_pressure);
* interfaces from drv_sensor.h
*/
-#define _AIRSPEEDIOCBASE (0x7700)
+#define _AIRSPEEDIOCBASE (0x7700)
#define __AIRSPEEDIOC(_n) (_IOC(_AIRSPEEDIOCBASE, _n))